/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */ export interface paths { "/runtime_configuration": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List runtime configurations * @description List runtime configuration */ get: operations["runtime_configuration:list"]; put?: never; /** * Create a runtime configuration * @description Creates an runtime configuration. */ post: operations["runtime_configuration:create"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/runtime_configuration/{id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read a runtime configuration * @description Read a runtime configuration */ get: operations["runtime_configuration:read"]; put?: never; post?: never; /** * Remove a runtime configuration * @description Remove a runtime configuration by ID. */ delete: operations["runtime_configuration:delete"]; options?: never; head?: never; /** * Update a runtime configuration * @description Updates a runtime configuration. */ patch: operations["runtime_configuration:write"]; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { /** * @description The runtime configuration body for updates * @example { * "nrn": "organization=1:account=2:namespace=3", * "dimensions": { * "environment": "production", * "country": "us" * }, * "values": { * "aws": { * "log_reader": "...", * "workflow_role": "..." * } * } * } */ "runtime_configuration:create": { /** * @description NRN (at or below) where the runtime configuration applies * @example organization=1:account=2:namespace=3:application=4 */ nrn: string; /** * @description The set of dimension/values that this runtime configuration is providing values for * @example { * "environment": "production" * } */ dimensions: Record; /** * @description The set values that this runtime configuration holds * @example { * "global-key": "global-value", * "my-namespace": { * "namespace-key": "namespace-value" * } * } */ values: Record; }; /** * @example { * "id": 1234, * "nrn": "organization=1:account=2:namespace=3", * "profile": "environment_dev_country_arg", * "status": "active", * "dimensions": { * "environment": "dev", * "country": "arg" * }, * "values": { * "workflow": "null_dev", * "aws": { * "log_reader": "..." * } * } * } */ runtime_configuration: { /** * @description A system-wide unique ID representing the value * @example 1234 */ id: number; /** * @description NRN (at or below) where the runtime configuration applies * @example organization=1:account=2:namespace=3:application=4 */ nrn: string; /** * @description An identifier for this runtime configuration based on the dimensions on which it was created * @example environment_dev_country_arg */ profile: string; /** * @description The set of dimension/values that this runtime configuration is providing values for * @example { * "environment": "production" * } */ dimensions: Record; /** * @description The set values that this runtime configuration holds * @example { * "global-key": "global-value", * "my-namespace": { * "namespace-key": "namespace-value" * } * } */ values?: Record; }; /** * @description The runtime configuration body for updates * @example { * "values": { * "aws": { * "log_reader": "...", * "workflow_role": "..." * } * } * } */ "runtime_configuration:write": { /** * @description The status of this runtime configuration * @example active */ status?: string; /** * @description The set values that this runtime configuration holds * @example { * "global-key": "global-value", * "my-namespace": { * "namespace-key": "namespace-value" * } * } */ values: Record; }; runtime_configuration_list: { paging?: { /** @description The start of the paging window. Minimum is 0. */ offset?: number; /** @description Maximum number of elements to retrieve per call. Maximum is 200. */ limit?: number; /** @description Total number of elements that can be retrieved */ total?: number; }; results?: components["schemas"]["runtime_configuration"][]; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type $defs = Record; export interface operations { "runtime_configuration:list": { parameters: { query: { /** @description Use this parameters to filter by NRN that are at or above the one you're specifying. Format: organization=1:account=2:namespace=3:application=4:scope=5 (trailing levels optional). Read one from an entity's nrn field, e.g. 'np application read --id --query .nrn'. */ nrn: string; /** @description The start of the paging window. Minimum is 0. */ offset?: number; /** @description Maximum number of elements to retrieve per call. Maximum is 200. */ limit?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Parameters */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["runtime_configuration_list"]; }; }; }; }; "runtime_configuration:create": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["runtime_configuration:create"]; }; }; responses: { /** @description The operation was successful */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["runtime_configuration"]; }; }; }; }; "runtime_configuration:read": { parameters: { query?: never; header?: never; path: { /** @description The runtime configuration identifier */ id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Runtime configuration */ 200: { headers: { [name: string]: unknown; }; content: { /** * @example { * "id": 1234, * "nrn": "organization=1:account=2:namespace=3", * "profile": "environment_dev_country_arg", * "status": "active", * "dimensions": { * "environment": "dev", * "country": "arg" * }, * "values": { * "workflow": "null_dev", * "aws": { * "log_reader": "..." * } * } * } */ "application/json": components["schemas"]["runtime_configuration"]; }; }; }; }; "runtime_configuration:delete": { parameters: { query?: never; header?: never; path: { /** @description The runtime configuration identifier */ id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description The operation was successful */ 204: { headers: { [name: string]: unknown; }; content?: never; }; }; }; "runtime_configuration:write": { parameters: { query?: never; header?: never; path: { /** @description The runtime configuration identifier */ id: number; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["runtime_configuration:write"]; }; }; responses: { /** @description The operation was successful */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["runtime_configuration"]; }; }; }; }; }