From 6aa6b14512ab5c4b0dd8d38c096c09681dc474dd Mon Sep 17 00:00:00 2001 From: jgoux <1443499+jgoux@users.noreply.github.com> Date: Fri, 28 Aug 2026 16:24:38 +0000 Subject: [PATCH] chore(api): sync Management API OpenAPI spec --- packages/api/src/generated/contracts.ts | 784 +++++++++++++----------- packages/api/src/generated/openapi.json | 529 +++++++++------- 2 files changed, 730 insertions(+), 583 deletions(-) diff --git a/packages/api/src/generated/contracts.ts b/packages/api/src/generated/contracts.ts index 659086a4aa..88ebacb6e5 100644 --- a/packages/api/src/generated/contracts.ts +++ b/packages/api/src/generated/contracts.ts @@ -4137,30 +4137,33 @@ export const V1GetPerformanceAdvisorsOutput = Schema.Struct({ detail: Schema.String, remediation: Schema.String, metadata: Schema.optionalKey( - Schema.Struct({ - schema: Schema.optionalKey(Schema.String), - name: Schema.optionalKey(Schema.String), - entity: Schema.optionalKey(Schema.String), - type: Schema.optionalKey( - Schema.Literals([ - "table", - "view", - "materialized view", - "foreign table", - "auth", - "function", - "extension", - "compliance", - "health", - ]), - ), - fkey_name: Schema.optionalKey(Schema.String), - fkey_columns: Schema.optionalKey( - Schema.Array( - Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), + Schema.StructWithRest( + Schema.Struct({ + schema: Schema.optionalKey(Schema.String), + name: Schema.optionalKey(Schema.String), + entity: Schema.optionalKey(Schema.String), + type: Schema.optionalKey( + Schema.Literals([ + "table", + "view", + "materialized view", + "foreign table", + "auth", + "function", + "extension", + "compliance", + "health", + ]), ), - ), - }), + fkey_name: Schema.optionalKey(Schema.String), + fkey_columns: Schema.optionalKey( + Schema.Array( + Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), + ), + ), + }), + [Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" }))], + ), ), cache_key: Schema.String, observed_at: Schema.optionalKey(Schema.String.annotate({ format: "date-time" })), @@ -5498,30 +5501,33 @@ export const V1GetSecurityAdvisorsOutput = Schema.Struct({ detail: Schema.String, remediation: Schema.String, metadata: Schema.optionalKey( - Schema.Struct({ - schema: Schema.optionalKey(Schema.String), - name: Schema.optionalKey(Schema.String), - entity: Schema.optionalKey(Schema.String), - type: Schema.optionalKey( - Schema.Literals([ - "table", - "view", - "materialized view", - "foreign table", - "auth", - "function", - "extension", - "compliance", - "health", - ]), - ), - fkey_name: Schema.optionalKey(Schema.String), - fkey_columns: Schema.optionalKey( - Schema.Array( - Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), + Schema.StructWithRest( + Schema.Struct({ + schema: Schema.optionalKey(Schema.String), + name: Schema.optionalKey(Schema.String), + entity: Schema.optionalKey(Schema.String), + type: Schema.optionalKey( + Schema.Literals([ + "table", + "view", + "materialized view", + "foreign table", + "auth", + "function", + "extension", + "compliance", + "health", + ]), ), - ), - }), + fkey_name: Schema.optionalKey(Schema.String), + fkey_columns: Schema.optionalKey( + Schema.Array( + Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), + ), + ), + }), + [Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" }))], + ), ), cache_key: Schema.String, observed_at: Schema.optionalKey(Schema.String.annotate({ format: "date-time" })), @@ -10084,33 +10090,119 @@ export const V2CreateLogDrainInput = Schema.Struct({ ), data: Schema.Struct({ type: Schema.Literal("log_drain").annotate({ description: "Resource type." }), + attributes: Schema.StructWithRest( + Schema.Struct({ + name: Schema.String, + description: Schema.optionalKey(Schema.String), + config: Schema.Union([ + Schema.Struct({ + url: Schema.optionalKey(Schema.String), + http: Schema.optionalKey(Schema.Literals(["http1", "http2"])), + gzip: Schema.optionalKey(Schema.Boolean), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "webhook" }), + Schema.Struct({ + api_key: Schema.optionalKey(Schema.String), + region: Schema.optionalKey(Schema.String), + }).annotate({ title: "datadog" }), + Schema.Struct({ + url: Schema.optionalKey(Schema.String), + username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), + password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "loki" }), + Schema.Struct({ dsn: Schema.optionalKey(Schema.String) }).annotate({ title: "sentry" }), + Schema.Struct({ + domain: Schema.optionalKey(Schema.String), + api_token: Schema.optionalKey(Schema.String), + dataset_name: Schema.optionalKey(Schema.String), + }).annotate({ title: "axiom" }), + Schema.Struct({ + host: Schema.optionalKey(Schema.String), + port: Schema.optionalKey( + Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) + .check( + Schema.isGreaterThanOrEqualTo(0).annotate({ + expected: "a value greater than or equal to 0", + }), + ) + .check( + Schema.isLessThanOrEqualTo(65535).annotate({ + expected: "a value less than or equal to 65535", + }), + ), + ), + tls: Schema.optionalKey(Schema.Boolean), + structured_data: Schema.optionalKey(Schema.String), + cipher_key: Schema.optionalKey(Schema.String), + ca_cert: Schema.optionalKey(Schema.String), + client_cert: Schema.optionalKey(Schema.String), + client_key: Schema.optionalKey(Schema.String), + }).annotate({ title: "syslog" }), + Schema.Struct({ + s3_bucket: Schema.optionalKey(Schema.String), + storage_region: Schema.optionalKey(Schema.String), + access_key_id: Schema.optionalKey(Schema.String), + secret_access_key: Schema.optionalKey(Schema.String), + batch_timeout: Schema.optionalKey( + Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) + .check( + Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ + expected: "a value greater than or equal to -9007199254740991", + }), + ) + .check( + Schema.isLessThanOrEqualTo(9007199254740991).annotate({ + expected: "a value less than or equal to 9007199254740991", + }), + ), + ), + }).annotate({ title: "s3" }), + Schema.Struct({ + region: Schema.optionalKey(Schema.String), + username: Schema.optionalKey(Schema.String), + password: Schema.optionalKey(Schema.String), + }).annotate({ title: "last9" }), + Schema.Struct({ + endpoint: Schema.optionalKey(Schema.String), + protocol: Schema.optionalKey(Schema.String), + gzip: Schema.optionalKey(Schema.Boolean), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "otlp" }), + ]), + backend_type: Schema.Literals([ + "postgres", + "bigquery", + "clickhouse", + "webhook", + "datadog", + "loki", + "sentry", + "s3", + "axiom", + "last9", + "otlp", + "syslog", + ]), + }), + [Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" }))], + ), + }), +}); +export const V2CreateLogDrainOutput = Schema.Struct({ + data: Schema.Struct({ + type: Schema.Literal("log_drain").annotate({ description: "Resource type." }), + id: Schema.String, attributes: Schema.Struct({ name: Schema.String, description: Schema.optionalKey(Schema.String), config: Schema.Union([ - Schema.Struct({ - url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - schema: Schema.optionalKey(Schema.String), - username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - port: Schema.optionalKey( - Schema.Union([ - Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), - Schema.Null, - ]), - ), - hostname: Schema.optionalKey(Schema.String), - }).annotate({ title: "postgres" }), Schema.Struct({ url: Schema.optionalKey(Schema.String), http: Schema.optionalKey(Schema.Literals(["http1", "http2"])), gzip: Schema.optionalKey(Schema.Boolean), headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), }).annotate({ title: "webhook" }), - Schema.Struct({ - project_id: Schema.optionalKey(Schema.String), - dataset_id: Schema.optionalKey(Schema.String), - }).annotate({ title: "bigquery" }), Schema.Struct({ api_key: Schema.optionalKey(Schema.String), region: Schema.optionalKey(Schema.String), @@ -10149,93 +10241,36 @@ export const V2CreateLogDrainInput = Schema.Struct({ client_cert: Schema.optionalKey(Schema.String), client_key: Schema.optionalKey(Schema.String), }).annotate({ title: "syslog" }), - ]), - backend_type: Schema.Literals([ - "postgres", - "bigquery", - "clickhouse", - "webhook", - "datadog", - "loki", - "sentry", - "s3", - "axiom", - "last9", - "otlp", - "syslog", - ]), - }), - }), -}); -export const V2CreateLogDrainOutput = Schema.Struct({ - data: Schema.Struct({ - type: Schema.Literal("log_drain").annotate({ description: "Resource type." }), - id: Schema.String, - attributes: Schema.Struct({ - name: Schema.String, - description: Schema.optionalKey(Schema.String), - config: Schema.Union([ - Schema.Struct({ - url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - schema: Schema.optionalKey(Schema.String), - username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - port: Schema.optionalKey( - Schema.Union([ - Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), - Schema.Null, - ]), - ), - hostname: Schema.optionalKey(Schema.String), - }).annotate({ title: "postgres" }), - Schema.Struct({ - url: Schema.optionalKey(Schema.String), - http: Schema.optionalKey(Schema.Literals(["http1", "http2"])), - gzip: Schema.optionalKey(Schema.Boolean), - headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), - }).annotate({ title: "webhook" }), - Schema.Struct({ - project_id: Schema.optionalKey(Schema.String), - dataset_id: Schema.optionalKey(Schema.String), - }).annotate({ title: "bigquery" }), - Schema.Struct({ - api_key: Schema.optionalKey(Schema.String), - region: Schema.optionalKey(Schema.String), - }).annotate({ title: "datadog" }), - Schema.Struct({ - url: Schema.optionalKey(Schema.String), - username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), - }).annotate({ title: "loki" }), - Schema.Struct({ dsn: Schema.optionalKey(Schema.String) }).annotate({ title: "sentry" }), - Schema.Struct({ - domain: Schema.optionalKey(Schema.String), - api_token: Schema.optionalKey(Schema.String), - dataset_name: Schema.optionalKey(Schema.String), - }).annotate({ title: "axiom" }), Schema.Struct({ - host: Schema.optionalKey(Schema.String), - port: Schema.optionalKey( + s3_bucket: Schema.optionalKey(Schema.String), + storage_region: Schema.optionalKey(Schema.String), + access_key_id: Schema.optionalKey(Schema.String), + secret_access_key: Schema.optionalKey(Schema.String), + batch_timeout: Schema.optionalKey( Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) .check( - Schema.isGreaterThanOrEqualTo(0).annotate({ - expected: "a value greater than or equal to 0", + Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ + expected: "a value greater than or equal to -9007199254740991", }), ) .check( - Schema.isLessThanOrEqualTo(65535).annotate({ - expected: "a value less than or equal to 65535", + Schema.isLessThanOrEqualTo(9007199254740991).annotate({ + expected: "a value less than or equal to 9007199254740991", }), ), ), - tls: Schema.optionalKey(Schema.Boolean), - structured_data: Schema.optionalKey(Schema.String), - cipher_key: Schema.optionalKey(Schema.String), - ca_cert: Schema.optionalKey(Schema.String), - client_cert: Schema.optionalKey(Schema.String), - client_key: Schema.optionalKey(Schema.String), - }).annotate({ title: "syslog" }), + }).annotate({ title: "s3" }), + Schema.Struct({ + region: Schema.optionalKey(Schema.String), + username: Schema.optionalKey(Schema.String), + password: Schema.optionalKey(Schema.String), + }).annotate({ title: "last9" }), + Schema.Struct({ + endpoint: Schema.optionalKey(Schema.String), + protocol: Schema.optionalKey(Schema.String), + gzip: Schema.optionalKey(Schema.Boolean), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "otlp" }), ]), backend_type: Schema.Literals([ "postgres", @@ -11576,29 +11611,12 @@ export const V2ListLogDrainsOutput = Schema.Struct({ name: Schema.String, description: Schema.optionalKey(Schema.String), config: Schema.Union([ - Schema.Struct({ - url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - schema: Schema.optionalKey(Schema.String), - username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - port: Schema.optionalKey( - Schema.Union([ - Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), - Schema.Null, - ]), - ), - hostname: Schema.optionalKey(Schema.String), - }).annotate({ title: "postgres" }), Schema.Struct({ url: Schema.optionalKey(Schema.String), http: Schema.optionalKey(Schema.Literals(["http1", "http2"])), gzip: Schema.optionalKey(Schema.Boolean), headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), }).annotate({ title: "webhook" }), - Schema.Struct({ - project_id: Schema.optionalKey(Schema.String), - dataset_id: Schema.optionalKey(Schema.String), - }).annotate({ title: "bigquery" }), Schema.Struct({ api_key: Schema.optionalKey(Schema.String), region: Schema.optionalKey(Schema.String), @@ -11637,6 +11655,36 @@ export const V2ListLogDrainsOutput = Schema.Struct({ client_cert: Schema.optionalKey(Schema.String), client_key: Schema.optionalKey(Schema.String), }).annotate({ title: "syslog" }), + Schema.Struct({ + s3_bucket: Schema.optionalKey(Schema.String), + storage_region: Schema.optionalKey(Schema.String), + access_key_id: Schema.optionalKey(Schema.String), + secret_access_key: Schema.optionalKey(Schema.String), + batch_timeout: Schema.optionalKey( + Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) + .check( + Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ + expected: "a value greater than or equal to -9007199254740991", + }), + ) + .check( + Schema.isLessThanOrEqualTo(9007199254740991).annotate({ + expected: "a value less than or equal to 9007199254740991", + }), + ), + ), + }).annotate({ title: "s3" }), + Schema.Struct({ + region: Schema.optionalKey(Schema.String), + username: Schema.optionalKey(Schema.String), + password: Schema.optionalKey(Schema.String), + }).annotate({ title: "last9" }), + Schema.Struct({ + endpoint: Schema.optionalKey(Schema.String), + protocol: Schema.optionalKey(Schema.String), + gzip: Schema.optionalKey(Schema.Boolean), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "otlp" }), ]), backend_type: Schema.Literals([ "postgres", @@ -12240,6 +12288,65 @@ export const V2RunProjectAdvisorsInput = Schema.Struct({ expected: "a string matching the RegExp ^[a-z]+$", }), ), + data: Schema.StructWithRest( + Schema.Struct({ + type: Schema.Literal("project_advisors").annotate({ description: "Resource type." }), + attributes: Schema.Struct({ + lints: Schema.Array( + Schema.Struct({ + name: Schema.Literals([ + "unindexed_foreign_keys", + "auth_users_exposed", + "auth_rls_initplan", + "no_primary_key", + "unused_index", + "multiple_permissive_policies", + "policy_exists_rls_disabled", + "rls_enabled_no_policy", + "duplicate_index", + "security_definer_view", + "function_search_path_mutable", + "rls_disabled_in_public", + "extension_in_public", + "rls_references_user_metadata", + "materialized_view_in_api", + "foreign_table_in_api", + "unsupported_reg_types", + "auth_otp_long_expiry", + "auth_otp_short_length", + "ssl_not_enforced", + "log_connections_not_enabled", + "network_restrictions_not_set", + "password_requirements_min_length", + "pitr_not_enabled", + "auth_leaked_password_protection", + "auth_insufficient_mfa_options", + "auth_password_policy_missing", + "leaked_service_key", + "no_backup_admin", + "vulnerable_postgres_version", + "db_not_reachable", + "db_connection_failing", + "db_connection_limit_reached", + "instance_telemetry_lost", + "instance_db_down", + "instance_alert_firing", + "log_service_error_rate_high", + ]), + }), + ) + .check( + Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }), + ) + .check( + Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }), + ), + }), + }), + [Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" }))], + ), +}); +export const V2RunProjectAdvisorsOutput = Schema.Struct({ data: Schema.Struct({ type: Schema.Literal("project_advisors").annotate({ description: "Resource type." }), attributes: Schema.Struct({ @@ -12283,109 +12390,47 @@ export const V2RunProjectAdvisorsInput = Schema.Struct({ "instance_db_down", "instance_alert_firing", "log_service_error_rate_high", + "project_not_active", + "advisor_check_unavailable", ]), - }), - ) - .check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) - .check( - Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }), - ), - }), - }), -}); -export const V2RunProjectAdvisorsOutput = Schema.Struct({ - data: Schema.Struct({ - type: Schema.Literal("project_advisors").annotate({ description: "Resource type." }), - attributes: Schema.StructWithRest( - Schema.Struct({ - lints: Schema.Array( - Schema.StructWithRest( + title: Schema.String, + level: Schema.Literals(["ERROR", "WARN", "INFO"]), + facing: Schema.Literal("EXTERNAL"), + categories: Schema.Array(Schema.Literals(["PERFORMANCE", "SECURITY", "HEALTH"])), + description: Schema.String, + detail: Schema.String, + remediation: Schema.String, + metadata: Schema.optionalKey( Schema.Struct({ - name: Schema.Literals([ - "unindexed_foreign_keys", - "auth_users_exposed", - "auth_rls_initplan", - "no_primary_key", - "unused_index", - "multiple_permissive_policies", - "policy_exists_rls_disabled", - "rls_enabled_no_policy", - "duplicate_index", - "security_definer_view", - "function_search_path_mutable", - "rls_disabled_in_public", - "extension_in_public", - "rls_references_user_metadata", - "materialized_view_in_api", - "foreign_table_in_api", - "unsupported_reg_types", - "auth_otp_long_expiry", - "auth_otp_short_length", - "ssl_not_enforced", - "log_connections_not_enabled", - "network_restrictions_not_set", - "password_requirements_min_length", - "pitr_not_enabled", - "auth_leaked_password_protection", - "auth_insufficient_mfa_options", - "auth_password_policy_missing", - "leaked_service_key", - "no_backup_admin", - "vulnerable_postgres_version", - "db_not_reachable", - "db_connection_failing", - "db_connection_limit_reached", - "instance_telemetry_lost", - "instance_db_down", - "instance_alert_firing", - "log_service_error_rate_high", - "project_not_active", - "advisor_check_unavailable", - ]), - title: Schema.String, - level: Schema.Literals(["ERROR", "WARN", "INFO"]), - facing: Schema.Literal("EXTERNAL"), - categories: Schema.Array(Schema.Literals(["PERFORMANCE", "SECURITY", "HEALTH"])), - description: Schema.String, - detail: Schema.String, - remediation: Schema.String, - metadata: Schema.optionalKey( - Schema.Struct({ - schema: Schema.optionalKey(Schema.String), - name: Schema.optionalKey(Schema.String), - entity: Schema.optionalKey(Schema.String), - type: Schema.optionalKey( - Schema.Literals([ - "table", - "view", - "materialized view", - "foreign table", - "auth", - "function", - "extension", - "compliance", - "health", - ]), - ), - fkey_name: Schema.optionalKey(Schema.String), - fkey_columns: Schema.optionalKey( - Schema.Array( - Schema.Number.check( - Schema.isFinite().annotate({ expected: "a finite number" }), - ), - ), - ), - }), + schema: Schema.optionalKey(Schema.String), + name: Schema.optionalKey(Schema.String), + entity: Schema.optionalKey(Schema.String), + type: Schema.optionalKey( + Schema.Literals([ + "table", + "view", + "materialized view", + "foreign table", + "auth", + "function", + "extension", + "compliance", + "health", + ]), + ), + fkey_name: Schema.optionalKey(Schema.String), + fkey_columns: Schema.optionalKey( + Schema.Array( + Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), + ), ), - cache_key: Schema.String, - observed_at: Schema.optionalKey(Schema.String.annotate({ format: "date-time" })), }), - [Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" }))], ), - ), - }), - [Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" }))], - ), + cache_key: Schema.String, + observed_at: Schema.optionalKey(Schema.String.annotate({ format: "date-time" })), + }), + ), + }), }), }); export const V2TransferAProjectInput = Schema.Struct({ @@ -12425,89 +12470,105 @@ export const V2UpdateLogDrainInput = Schema.Struct({ ), data: Schema.Struct({ type: Schema.Literal("log_drain").annotate({ description: "Resource type." }), - attributes: Schema.Struct({ - name: Schema.optionalKey(Schema.String), - description: Schema.optionalKey(Schema.String), - config: Schema.optionalKey( - Schema.Union([ - Schema.Struct({ - url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - schema: Schema.optionalKey(Schema.String), - username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - port: Schema.optionalKey( - Schema.Union([ - Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), - Schema.Null, - ]), - ), - hostname: Schema.optionalKey(Schema.String), - }).annotate({ title: "postgres" }), - Schema.Struct({ - url: Schema.optionalKey(Schema.String), - http: Schema.optionalKey(Schema.Literals(["http1", "http2"])), - gzip: Schema.optionalKey(Schema.Boolean), - headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), - }).annotate({ title: "webhook" }), - Schema.Struct({ - project_id: Schema.optionalKey(Schema.String), - dataset_id: Schema.optionalKey(Schema.String), - }).annotate({ title: "bigquery" }), - Schema.Struct({ - api_key: Schema.optionalKey(Schema.String), - region: Schema.optionalKey(Schema.String), - }).annotate({ title: "datadog" }), - Schema.Struct({ - url: Schema.optionalKey(Schema.String), - username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), - }).annotate({ title: "loki" }), - Schema.Struct({ dsn: Schema.optionalKey(Schema.String) }).annotate({ title: "sentry" }), - Schema.Struct({ - domain: Schema.optionalKey(Schema.String), - api_token: Schema.optionalKey(Schema.String), - dataset_name: Schema.optionalKey(Schema.String), - }).annotate({ title: "axiom" }), - Schema.Struct({ - host: Schema.optionalKey(Schema.String), - port: Schema.optionalKey( - Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) - .check( - Schema.isGreaterThanOrEqualTo(0).annotate({ - expected: "a value greater than or equal to 0", - }), - ) - .check( - Schema.isLessThanOrEqualTo(65535).annotate({ - expected: "a value less than or equal to 65535", - }), - ), - ), - tls: Schema.optionalKey(Schema.Boolean), - structured_data: Schema.optionalKey(Schema.String), - cipher_key: Schema.optionalKey(Schema.String), - ca_cert: Schema.optionalKey(Schema.String), - client_cert: Schema.optionalKey(Schema.String), - client_key: Schema.optionalKey(Schema.String), - }).annotate({ title: "syslog" }), + attributes: Schema.StructWithRest( + Schema.Struct({ + name: Schema.optionalKey(Schema.String), + description: Schema.optionalKey(Schema.String), + config: Schema.optionalKey( + Schema.Union([ + Schema.Struct({ + url: Schema.optionalKey(Schema.String), + http: Schema.optionalKey(Schema.Literals(["http1", "http2"])), + gzip: Schema.optionalKey(Schema.Boolean), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "webhook" }), + Schema.Struct({ + api_key: Schema.optionalKey(Schema.String), + region: Schema.optionalKey(Schema.String), + }).annotate({ title: "datadog" }), + Schema.Struct({ + url: Schema.optionalKey(Schema.String), + username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), + password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "loki" }), + Schema.Struct({ dsn: Schema.optionalKey(Schema.String) }).annotate({ title: "sentry" }), + Schema.Struct({ + domain: Schema.optionalKey(Schema.String), + api_token: Schema.optionalKey(Schema.String), + dataset_name: Schema.optionalKey(Schema.String), + }).annotate({ title: "axiom" }), + Schema.Struct({ + host: Schema.optionalKey(Schema.String), + port: Schema.optionalKey( + Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) + .check( + Schema.isGreaterThanOrEqualTo(0).annotate({ + expected: "a value greater than or equal to 0", + }), + ) + .check( + Schema.isLessThanOrEqualTo(65535).annotate({ + expected: "a value less than or equal to 65535", + }), + ), + ), + tls: Schema.optionalKey(Schema.Boolean), + structured_data: Schema.optionalKey(Schema.String), + cipher_key: Schema.optionalKey(Schema.String), + ca_cert: Schema.optionalKey(Schema.String), + client_cert: Schema.optionalKey(Schema.String), + client_key: Schema.optionalKey(Schema.String), + }).annotate({ title: "syslog" }), + Schema.Struct({ + s3_bucket: Schema.optionalKey(Schema.String), + storage_region: Schema.optionalKey(Schema.String), + access_key_id: Schema.optionalKey(Schema.String), + secret_access_key: Schema.optionalKey(Schema.String), + batch_timeout: Schema.optionalKey( + Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) + .check( + Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ + expected: "a value greater than or equal to -9007199254740991", + }), + ) + .check( + Schema.isLessThanOrEqualTo(9007199254740991).annotate({ + expected: "a value less than or equal to 9007199254740991", + }), + ), + ), + }).annotate({ title: "s3" }), + Schema.Struct({ + region: Schema.optionalKey(Schema.String), + username: Schema.optionalKey(Schema.String), + password: Schema.optionalKey(Schema.String), + }).annotate({ title: "last9" }), + Schema.Struct({ + endpoint: Schema.optionalKey(Schema.String), + protocol: Schema.optionalKey(Schema.String), + gzip: Schema.optionalKey(Schema.Boolean), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "otlp" }), + ]), + ), + backend_type: Schema.Literals([ + "postgres", + "bigquery", + "clickhouse", + "webhook", + "datadog", + "loki", + "sentry", + "s3", + "axiom", + "last9", + "otlp", + "syslog", ]), - ), - backend_type: Schema.Literals([ - "postgres", - "bigquery", - "clickhouse", - "webhook", - "datadog", - "loki", - "sentry", - "s3", - "axiom", - "last9", - "otlp", - "syslog", - ]), - }), + }), + [Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" }))], + ), }), }); export const V2UpdateLogDrainOutput = Schema.Struct({ @@ -12518,29 +12579,12 @@ export const V2UpdateLogDrainOutput = Schema.Struct({ name: Schema.String, description: Schema.optionalKey(Schema.String), config: Schema.Union([ - Schema.Struct({ - url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - schema: Schema.optionalKey(Schema.String), - username: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - password: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), - port: Schema.optionalKey( - Schema.Union([ - Schema.Number.check(Schema.isFinite().annotate({ expected: "a finite number" })), - Schema.Null, - ]), - ), - hostname: Schema.optionalKey(Schema.String), - }).annotate({ title: "postgres" }), Schema.Struct({ url: Schema.optionalKey(Schema.String), http: Schema.optionalKey(Schema.Literals(["http1", "http2"])), gzip: Schema.optionalKey(Schema.Boolean), headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), }).annotate({ title: "webhook" }), - Schema.Struct({ - project_id: Schema.optionalKey(Schema.String), - dataset_id: Schema.optionalKey(Schema.String), - }).annotate({ title: "bigquery" }), Schema.Struct({ api_key: Schema.optionalKey(Schema.String), region: Schema.optionalKey(Schema.String), @@ -12579,6 +12623,36 @@ export const V2UpdateLogDrainOutput = Schema.Struct({ client_cert: Schema.optionalKey(Schema.String), client_key: Schema.optionalKey(Schema.String), }).annotate({ title: "syslog" }), + Schema.Struct({ + s3_bucket: Schema.optionalKey(Schema.String), + storage_region: Schema.optionalKey(Schema.String), + access_key_id: Schema.optionalKey(Schema.String), + secret_access_key: Schema.optionalKey(Schema.String), + batch_timeout: Schema.optionalKey( + Schema.Number.check(Schema.isInt().annotate({ expected: "an integer" })) + .check( + Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ + expected: "a value greater than or equal to -9007199254740991", + }), + ) + .check( + Schema.isLessThanOrEqualTo(9007199254740991).annotate({ + expected: "a value less than or equal to 9007199254740991", + }), + ), + ), + }).annotate({ title: "s3" }), + Schema.Struct({ + region: Schema.optionalKey(Schema.String), + username: Schema.optionalKey(Schema.String), + password: Schema.optionalKey(Schema.String), + }).annotate({ title: "last9" }), + Schema.Struct({ + endpoint: Schema.optionalKey(Schema.String), + protocol: Schema.optionalKey(Schema.String), + gzip: Schema.optionalKey(Schema.Boolean), + headers: Schema.optionalKey(Schema.Record(Schema.String, Schema.String)), + }).annotate({ title: "otlp" }), ]), backend_type: Schema.Literals([ "postgres", diff --git a/packages/api/src/generated/openapi.json b/packages/api/src/generated/openapi.json index 5c0978df1f..a6372ce8d4 100644 --- a/packages/api/src/generated/openapi.json +++ b/packages/api/src/generated/openapi.json @@ -11269,7 +11269,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListLogDrainsResponse" + "$ref": "#/components/schemas/ListLogDrainsResponse_Output" } } } @@ -11365,7 +11365,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LogDrainResponse" + "$ref": "#/components/schemas/LogDrainResponse_Output" } } } @@ -11489,7 +11489,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LogDrainResponse" + "$ref": "#/components/schemas/LogDrainResponse_Output" } } } @@ -11749,7 +11749,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2ProjectConfigResponse" + "$ref": "#/components/schemas/V2ProjectConfigResponse_Output" } } } @@ -11841,7 +11841,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2PreviewProjectTransferResponse" + "$ref": "#/components/schemas/V2PreviewProjectTransferResponse_Output" } } } @@ -11986,7 +11986,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2ListPrivateLinkAssociationsResponse" + "$ref": "#/components/schemas/V2ListPrivateLinkAssociationsResponse_Output" } } } @@ -12076,7 +12076,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2PrivateLinkAssociationResponse" + "$ref": "#/components/schemas/V2PrivateLinkAssociationResponse_Output" } } } @@ -12352,7 +12352,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2ListWorkersResponse" + "$ref": "#/components/schemas/V2ListWorkersResponse_Output" } } } @@ -12441,7 +12441,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2WorkerResponse" + "$ref": "#/components/schemas/V2WorkerResponse_Output" } } } @@ -12610,7 +12610,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2WorkerUploadResponse" + "$ref": "#/components/schemas/V2WorkerUploadResponse_Output" } } } @@ -12709,7 +12709,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2WorkerResponse" + "$ref": "#/components/schemas/V2WorkerResponse_Output" } } } @@ -12831,7 +12831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2ListMembersResponse" + "$ref": "#/components/schemas/V2ListMembersResponse_Output" } } } @@ -12928,7 +12928,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrganizationMemberRoleResponse" + "$ref": "#/components/schemas/OrganizationMemberRoleResponse_Output" } } } @@ -13025,7 +13025,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2ListRolesResponse" + "$ref": "#/components/schemas/V2ListRolesResponse_Output" } } } @@ -13112,7 +13112,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2CreateInvitationsResponse" + "$ref": "#/components/schemas/V2CreateInvitationsResponse_Output" } } } @@ -13212,7 +13212,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2DeleteInvitationsResponse" + "$ref": "#/components/schemas/V2DeleteInvitationsResponse_Output" } } } @@ -13349,7 +13349,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2ListProjectsResponse" + "$ref": "#/components/schemas/V2ListProjectsResponse_Output" } } } @@ -13477,7 +13477,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/V2ListGitHubConnectionsResponse" + "$ref": "#/components/schemas/V2ListGitHubConnectionsResponse_Output" } } } @@ -19427,7 +19427,8 @@ "type": "number" } } - } + }, + "additionalProperties": {} }, "cache_key": { "type": "string" @@ -23194,7 +23195,7 @@ }, "required": ["projects", "pagination"] }, - "ListLogDrainsResponse": { + "ListLogDrainsResponse_Output": { "type": "object", "properties": { "data": { @@ -23221,35 +23222,6 @@ }, "config": { "anyOf": [ - { - "type": "object", - "properties": { - "url": { - "type": "string", - "nullable": true - }, - "schema": { - "type": "string" - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "port": { - "type": "number", - "nullable": true - }, - "hostname": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "postgres" - }, { "type": "object", "properties": { @@ -23270,22 +23242,8 @@ } } }, - "additionalProperties": false, "title": "webhook" }, - { - "type": "object", - "properties": { - "project_id": { - "type": "string" - }, - "dataset_id": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "bigquery" - }, { "type": "object", "properties": { @@ -23296,7 +23254,6 @@ "type": "string" } }, - "additionalProperties": false, "title": "datadog" }, { @@ -23320,7 +23277,6 @@ } } }, - "additionalProperties": false, "title": "loki" }, { @@ -23330,7 +23286,6 @@ "type": "string" } }, - "additionalProperties": false, "title": "sentry" }, { @@ -23346,7 +23301,6 @@ "type": "string" } }, - "additionalProperties": false, "title": "axiom" }, { @@ -23380,8 +23334,69 @@ "type": "string" } }, - "additionalProperties": false, "title": "syslog" + }, + { + "type": "object", + "properties": { + "s3_bucket": { + "type": "string" + }, + "storage_region": { + "type": "string" + }, + "access_key_id": { + "type": "string" + }, + "secret_access_key": { + "type": "string" + }, + "batch_timeout": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "title": "s3" + }, + { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "title": "last9" + }, + { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + }, + "protocol": { + "default": "http/protobuf", + "type": "string" + }, + "gzip": { + "default": true, + "type": "boolean" + }, + "headers": { + "default": {}, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "title": "otlp" } ] }, @@ -23500,35 +23515,6 @@ }, "config": { "anyOf": [ - { - "type": "object", - "properties": { - "url": { - "type": "string", - "nullable": true - }, - "schema": { - "type": "string" - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "port": { - "type": "number", - "nullable": true - }, - "hostname": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "postgres" - }, { "type": "object", "properties": { @@ -23552,19 +23538,6 @@ "additionalProperties": false, "title": "webhook" }, - { - "type": "object", - "properties": { - "project_id": { - "type": "string" - }, - "dataset_id": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "bigquery" - }, { "type": "object", "properties": { @@ -23661,6 +23634,71 @@ }, "additionalProperties": false, "title": "syslog" + }, + { + "type": "object", + "properties": { + "s3_bucket": { + "type": "string" + }, + "storage_region": { + "type": "string" + }, + "access_key_id": { + "type": "string" + }, + "secret_access_key": { + "type": "string" + }, + "batch_timeout": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "additionalProperties": false, + "title": "s3" + }, + { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "title": "last9" + }, + { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + }, + "protocol": { + "default": "http/protobuf", + "type": "string" + }, + "gzip": { + "default": true, + "type": "boolean" + }, + "headers": { + "default": {}, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false, + "title": "otlp" } ] }, @@ -23682,7 +23720,8 @@ ] } }, - "required": ["name", "config", "backend_type"] + "required": ["name", "config", "backend_type"], + "additionalProperties": {} } }, "required": ["type", "attributes"] @@ -23690,7 +23729,7 @@ }, "required": ["data"] }, - "LogDrainResponse": { + "LogDrainResponse_Output": { "type": "object", "properties": { "data": { @@ -23715,35 +23754,6 @@ }, "config": { "anyOf": [ - { - "type": "object", - "properties": { - "url": { - "type": "string", - "nullable": true - }, - "schema": { - "type": "string" - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "port": { - "type": "number", - "nullable": true - }, - "hostname": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "postgres" - }, { "type": "object", "properties": { @@ -23764,22 +23774,8 @@ } } }, - "additionalProperties": false, "title": "webhook" }, - { - "type": "object", - "properties": { - "project_id": { - "type": "string" - }, - "dataset_id": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "bigquery" - }, { "type": "object", "properties": { @@ -23790,7 +23786,6 @@ "type": "string" } }, - "additionalProperties": false, "title": "datadog" }, { @@ -23814,7 +23809,6 @@ } } }, - "additionalProperties": false, "title": "loki" }, { @@ -23824,7 +23818,6 @@ "type": "string" } }, - "additionalProperties": false, "title": "sentry" }, { @@ -23840,7 +23833,6 @@ "type": "string" } }, - "additionalProperties": false, "title": "axiom" }, { @@ -23874,8 +23866,69 @@ "type": "string" } }, - "additionalProperties": false, "title": "syslog" + }, + { + "type": "object", + "properties": { + "s3_bucket": { + "type": "string" + }, + "storage_region": { + "type": "string" + }, + "access_key_id": { + "type": "string" + }, + "secret_access_key": { + "type": "string" + }, + "batch_timeout": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "title": "s3" + }, + { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "title": "last9" + }, + { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + }, + "protocol": { + "default": "http/protobuf", + "type": "string" + }, + "gzip": { + "default": true, + "type": "boolean" + }, + "headers": { + "default": {}, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "title": "otlp" } ] }, @@ -23927,35 +23980,6 @@ }, "config": { "anyOf": [ - { - "type": "object", - "properties": { - "url": { - "type": "string", - "nullable": true - }, - "schema": { - "type": "string" - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "port": { - "type": "number", - "nullable": true - }, - "hostname": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "postgres" - }, { "type": "object", "properties": { @@ -23979,19 +24003,6 @@ "additionalProperties": false, "title": "webhook" }, - { - "type": "object", - "properties": { - "project_id": { - "type": "string" - }, - "dataset_id": { - "type": "string" - } - }, - "additionalProperties": false, - "title": "bigquery" - }, { "type": "object", "properties": { @@ -24088,6 +24099,71 @@ }, "additionalProperties": false, "title": "syslog" + }, + { + "type": "object", + "properties": { + "s3_bucket": { + "type": "string" + }, + "storage_region": { + "type": "string" + }, + "access_key_id": { + "type": "string" + }, + "secret_access_key": { + "type": "string" + }, + "batch_timeout": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "additionalProperties": false, + "title": "s3" + }, + { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "title": "last9" + }, + { + "type": "object", + "properties": { + "endpoint": { + "type": "string" + }, + "protocol": { + "default": "http/protobuf", + "type": "string" + }, + "gzip": { + "default": true, + "type": "boolean" + }, + "headers": { + "default": {}, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false, + "title": "otlp" } ] }, @@ -24109,7 +24185,8 @@ ] } }, - "required": ["backend_type"] + "required": ["backend_type"], + "additionalProperties": {} } }, "required": ["type", "attributes"] @@ -24190,7 +24267,8 @@ "additionalProperties": false } }, - "required": ["type", "attributes"] + "required": ["type", "attributes"], + "additionalProperties": {} } }, "required": ["data"] @@ -24322,8 +24400,7 @@ "type": "number" } } - }, - "additionalProperties": false + } }, "cache_key": { "type": "string" @@ -24344,23 +24421,19 @@ "detail", "remediation", "cache_key" - ], - "additionalProperties": {} + ] } } }, - "required": ["lints"], - "additionalProperties": {} + "required": ["lints"] } }, - "required": ["type", "attributes"], - "additionalProperties": false + "required": ["type", "attributes"] } }, - "required": ["data"], - "additionalProperties": false + "required": ["data"] }, - "V2ProjectConfigResponse": { + "V2ProjectConfigResponse_Output": { "type": "object", "properties": { "data": { @@ -24917,7 +24990,7 @@ }, "required": ["data"] }, - "V2PreviewProjectTransferResponse": { + "V2PreviewProjectTransferResponse_Output": { "type": "object", "properties": { "data": { @@ -24988,7 +25061,7 @@ }, "required": ["data"] }, - "V2ListPrivateLinkAssociationsResponse": { + "V2ListPrivateLinkAssociationsResponse_Output": { "type": "object", "properties": { "data": { @@ -25113,7 +25186,7 @@ }, "required": ["data"] }, - "V2PrivateLinkAssociationResponse": { + "V2PrivateLinkAssociationResponse_Output": { "type": "object", "properties": { "data": { @@ -25196,7 +25269,7 @@ }, "required": ["data"] }, - "V2ListWorkersResponse": { + "V2ListWorkersResponse_Output": { "type": "object", "properties": { "data": { @@ -25296,7 +25369,7 @@ }, "required": ["data"] }, - "V2WorkerResponse": { + "V2WorkerResponse_Output": { "type": "object", "properties": { "data": { @@ -25393,7 +25466,7 @@ }, "required": ["data"] }, - "V2WorkerUploadResponse": { + "V2WorkerUploadResponse_Output": { "type": "object", "properties": { "data": { @@ -25484,7 +25557,7 @@ }, "required": ["data"] }, - "V2ListMembersResponse": { + "V2ListMembersResponse_Output": { "type": "object", "properties": { "data": { @@ -25656,7 +25729,7 @@ }, "required": ["data"] }, - "OrganizationMemberRoleResponse": { + "OrganizationMemberRoleResponse_Output": { "type": "object", "properties": { "data": { @@ -25705,7 +25778,7 @@ }, "required": ["data"] }, - "V2ListRolesResponse": { + "V2ListRolesResponse_Output": { "type": "object", "properties": { "data": { @@ -25801,7 +25874,7 @@ }, "required": ["data"] }, - "V2CreateInvitationsResponse": { + "V2CreateInvitationsResponse_Output": { "type": "object", "properties": { "error": { @@ -25981,7 +26054,7 @@ }, "required": ["data"] }, - "V2DeleteInvitationsResponse": { + "V2DeleteInvitationsResponse_Output": { "type": "object", "properties": { "data": { @@ -26014,7 +26087,7 @@ }, "required": ["data"] }, - "V2ListProjectsResponse": { + "V2ListProjectsResponse_Output": { "type": "object", "properties": { "data": { @@ -26201,7 +26274,7 @@ }, "required": ["data", "links"] }, - "V2ListGitHubConnectionsResponse": { + "V2ListGitHubConnectionsResponse_Output": { "type": "object", "properties": { "data": {