/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime.js'; import { type CatalogCreateEntryPayloadV2 } from '../models/CatalogCreateEntryPayloadV2.js'; import { type CatalogCreateEntryResultV2 } from '../models/CatalogCreateEntryResultV2.js'; import { type CatalogCreateTypePayloadV2 } from '../models/CatalogCreateTypePayloadV2.js'; import { type CatalogCreateTypeResultV2 } from '../models/CatalogCreateTypeResultV2.js'; import { type CatalogListEntriesResultV2 } from '../models/CatalogListEntriesResultV2.js'; import { type CatalogListResourcesResultV2 } from '../models/CatalogListResourcesResultV2.js'; import { type CatalogListTypesResultV2 } from '../models/CatalogListTypesResultV2.js'; import { type CatalogShowEntryResultV2 } from '../models/CatalogShowEntryResultV2.js'; import { type CatalogShowTypeResultV2 } from '../models/CatalogShowTypeResultV2.js'; import { type CatalogUpdateEntryPayloadV2 } from '../models/CatalogUpdateEntryPayloadV2.js'; import { type CatalogUpdateEntryResultV2 } from '../models/CatalogUpdateEntryResultV2.js'; import { type CatalogUpdateTypePayloadV2 } from '../models/CatalogUpdateTypePayloadV2.js'; import { type CatalogUpdateTypeResultV2 } from '../models/CatalogUpdateTypeResultV2.js'; import { type CatalogUpdateTypeSchemaPayloadV2 } from '../models/CatalogUpdateTypeSchemaPayloadV2.js'; import { type CatalogUpdateTypeSchemaResultV2 } from '../models/CatalogUpdateTypeSchemaResultV2.js'; export interface CatalogV2CreateEntryRequest { /** * */ body: CatalogCreateEntryPayloadV2; } export interface CatalogV2CreateTypeRequest { /** * */ body: CatalogCreateTypePayloadV2; } export interface CatalogV2DestroyEntryRequest { /** * ID of this catalog entry */ id: string; } export interface CatalogV2DestroyTypeRequest { /** * ID of this catalog type */ id: string; } export interface CatalogV2ListEntriesRequest { /** * ID of this catalog type */ catalog_type_id: string; /** * Integer number of records to return */ page_size?: number; /** * An record's ID. This endpoint will return a list of records after this ID in relation to the API response order. */ after?: string; } export interface CatalogV2ShowEntryRequest { /** * ID of this catalog entry */ id: string; } export interface CatalogV2ShowTypeRequest { /** * ID of this catalog type */ id: string; } export interface CatalogV2UpdateEntryRequest { /** * ID of this catalog entry */ id: string; /** * */ body: CatalogUpdateEntryPayloadV2; } export interface CatalogV2UpdateTypeRequest { /** * ID of this catalog type */ id: string; /** * */ body: CatalogUpdateTypePayloadV2; } export interface CatalogV2UpdateTypeSchemaRequest { /** * ID of this catalog type */ id: string; /** * */ body: CatalogUpdateTypeSchemaPayloadV2; } /** * catalogV2ListResources takes no parameters yet. The argument exists so that the first * one the API adds is a new optional field here, not a change to the * method's signature. Pass request options as the second argument. */ export interface CatalogV2ListResourcesRequest { [key: string]: never; } /** * catalogV2ListTypes takes no parameters yet. The argument exists so that the first * one the API adds is a new optional field here, not a change to the * method's signature. Pass request options as the second argument. */ export interface CatalogV2ListTypesRequest { [key: string]: never; } /** * */ export declare class CatalogV2Api extends runtime.BaseAPI { /** * Creates request options for catalogV2CreateEntry without sending the request * @deprecated */ catalogV2CreateEntryRequestOpts(requestParameters: CatalogV2CreateEntryRequest): Promise; /** * Create an entry within the catalog. We support a maximum of 50,000 entries per type. If you call this API with a payload where the external_id and catalog_type_id match an existing entry, the existing entry will be updated. * CreateEntry Catalog V2 * @deprecated */ catalogV2CreateEntryRaw(requestParameters: CatalogV2CreateEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create an entry within the catalog. We support a maximum of 50,000 entries per type. If you call this API with a payload where the external_id and catalog_type_id match an existing entry, the existing entry will be updated. * CreateEntry Catalog V2 * @deprecated */ catalogV2CreateEntry(requestParameters: CatalogV2CreateEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2CreateType without sending the request * @deprecated */ catalogV2CreateTypeRequestOpts(requestParameters: CatalogV2CreateTypeRequest): Promise; /** * Create a catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * CreateType Catalog V2 * @deprecated */ catalogV2CreateTypeRaw(requestParameters: CatalogV2CreateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * CreateType Catalog V2 * @deprecated */ catalogV2CreateType(requestParameters: CatalogV2CreateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2DestroyEntry without sending the request * @deprecated */ catalogV2DestroyEntryRequestOpts(requestParameters: CatalogV2DestroyEntryRequest): Promise; /** * Archives a catalog entry. * DestroyEntry Catalog V2 * @deprecated */ catalogV2DestroyEntryRaw(requestParameters: CatalogV2DestroyEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Archives a catalog entry. * DestroyEntry Catalog V2 * @deprecated */ catalogV2DestroyEntry(requestParameters: CatalogV2DestroyEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2DestroyType without sending the request * @deprecated */ catalogV2DestroyTypeRequestOpts(requestParameters: CatalogV2DestroyTypeRequest): Promise; /** * Archives a catalog type and associated entries. * DestroyType Catalog V2 * @deprecated */ catalogV2DestroyTypeRaw(requestParameters: CatalogV2DestroyTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Archives a catalog type and associated entries. * DestroyType Catalog V2 * @deprecated */ catalogV2DestroyType(requestParameters: CatalogV2DestroyTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2ListEntries without sending the request * @deprecated */ catalogV2ListEntriesRequestOpts(requestParameters: CatalogV2ListEntriesRequest): Promise; /** * List entries for a catalog type. * ListEntries Catalog V2 * @deprecated */ catalogV2ListEntriesRaw(requestParameters: CatalogV2ListEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List entries for a catalog type. * ListEntries Catalog V2 * @deprecated */ catalogV2ListEntries(requestParameters: CatalogV2ListEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2ListResources without sending the request * @deprecated */ catalogV2ListResourcesRequestOpts(requestParameters: CatalogV2ListResourcesRequest): Promise; /** * List available engine resources for the catalog. A resource represents a type of data that can be held within the catalog, so this endpoint can be used to see what attribute types can be used when updating the schema of a catalog type. * ListResources Catalog V2 * @deprecated */ catalogV2ListResourcesRaw(requestParameters: CatalogV2ListResourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List available engine resources for the catalog. A resource represents a type of data that can be held within the catalog, so this endpoint can be used to see what attribute types can be used when updating the schema of a catalog type. * ListResources Catalog V2 * @deprecated */ catalogV2ListResources(requestParameters?: CatalogV2ListResourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2ListTypes without sending the request * @deprecated */ catalogV2ListTypesRequestOpts(requestParameters: CatalogV2ListTypesRequest): Promise; /** * List all catalog types for an organisation, including those synced from external resources. * ListTypes Catalog V2 * @deprecated */ catalogV2ListTypesRaw(requestParameters: CatalogV2ListTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List all catalog types for an organisation, including those synced from external resources. * ListTypes Catalog V2 * @deprecated */ catalogV2ListTypes(requestParameters?: CatalogV2ListTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2ShowEntry without sending the request * @deprecated */ catalogV2ShowEntryRequestOpts(requestParameters: CatalogV2ShowEntryRequest): Promise; /** * Show a single catalog entry. * ShowEntry Catalog V2 * @deprecated */ catalogV2ShowEntryRaw(requestParameters: CatalogV2ShowEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Show a single catalog entry. * ShowEntry Catalog V2 * @deprecated */ catalogV2ShowEntry(requestParameters: CatalogV2ShowEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2ShowType without sending the request * @deprecated */ catalogV2ShowTypeRequestOpts(requestParameters: CatalogV2ShowTypeRequest): Promise; /** * Show a single catalog type. * ShowType Catalog V2 * @deprecated */ catalogV2ShowTypeRaw(requestParameters: CatalogV2ShowTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Show a single catalog type. * ShowType Catalog V2 * @deprecated */ catalogV2ShowType(requestParameters: CatalogV2ShowTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2UpdateEntry without sending the request * @deprecated */ catalogV2UpdateEntryRequestOpts(requestParameters: CatalogV2UpdateEntryRequest): Promise; /** * Updates an existing catalog entry. * UpdateEntry Catalog V2 * @deprecated */ catalogV2UpdateEntryRaw(requestParameters: CatalogV2UpdateEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates an existing catalog entry. * UpdateEntry Catalog V2 * @deprecated */ catalogV2UpdateEntry(requestParameters: CatalogV2UpdateEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2UpdateType without sending the request * @deprecated */ catalogV2UpdateTypeRequestOpts(requestParameters: CatalogV2UpdateTypeRequest): Promise; /** * Updates an existing catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * UpdateType Catalog V2 * @deprecated */ catalogV2UpdateTypeRaw(requestParameters: CatalogV2UpdateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates an existing catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * UpdateType Catalog V2 * @deprecated */ catalogV2UpdateType(requestParameters: CatalogV2UpdateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV2UpdateTypeSchema without sending the request * @deprecated */ catalogV2UpdateTypeSchemaRequestOpts(requestParameters: CatalogV2UpdateTypeSchemaRequest): Promise; /** * Update an existing catalog types schema, adding or removing attributes. Updating the schema is handled separately from creating and updating types, so that you don\'t have to worry about dependencies between types. For example, if type A has an attribute that relies on type B, you would have to create type B first. By allowing the creation of types without a schema, they can be created in any order, but it means that you need to make a separate call to this endpoint to update the schema. * UpdateTypeSchema Catalog V2 * @deprecated */ catalogV2UpdateTypeSchemaRaw(requestParameters: CatalogV2UpdateTypeSchemaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Update an existing catalog types schema, adding or removing attributes. Updating the schema is handled separately from creating and updating types, so that you don\'t have to worry about dependencies between types. For example, if type A has an attribute that relies on type B, you would have to create type B first. By allowing the creation of types without a schema, they can be created in any order, but it means that you need to make a separate call to this endpoint to update the schema. * UpdateTypeSchema Catalog V2 * @deprecated */ catalogV2UpdateTypeSchema(requestParameters: CatalogV2UpdateTypeSchemaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }