/** * 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 CatalogBulkUpdateEntriesPayloadV3 } from '../models/CatalogBulkUpdateEntriesPayloadV3.js'; import { type CatalogCreateEntryPayloadV3 } from '../models/CatalogCreateEntryPayloadV3.js'; import { type CatalogCreateEntryResultV3 } from '../models/CatalogCreateEntryResultV3.js'; import { type CatalogCreateTypePayloadV3 } from '../models/CatalogCreateTypePayloadV3.js'; import { type CatalogCreateTypeResultV3 } from '../models/CatalogCreateTypeResultV3.js'; import { type CatalogListEntriesResultV3 } from '../models/CatalogListEntriesResultV3.js'; import { type CatalogListResourcesResultV3 } from '../models/CatalogListResourcesResultV3.js'; import { type CatalogListTypesResultV3 } from '../models/CatalogListTypesResultV3.js'; import { type CatalogShowEntryResultV3 } from '../models/CatalogShowEntryResultV3.js'; import { type CatalogShowTypeResultV3 } from '../models/CatalogShowTypeResultV3.js'; import { type CatalogUpdateEntryPayloadV3 } from '../models/CatalogUpdateEntryPayloadV3.js'; import { type CatalogUpdateEntryResultV3 } from '../models/CatalogUpdateEntryResultV3.js'; import { type CatalogUpdateTypePayloadV3 } from '../models/CatalogUpdateTypePayloadV3.js'; import { type CatalogUpdateTypeResultV3 } from '../models/CatalogUpdateTypeResultV3.js'; import { type CatalogUpdateTypeSchemaPayloadV3 } from '../models/CatalogUpdateTypeSchemaPayloadV3.js'; import { type CatalogUpdateTypeSchemaResultV3 } from '../models/CatalogUpdateTypeSchemaResultV3.js'; export interface CatalogV3BulkUpdateEntriesRequest { /** * */ body: CatalogBulkUpdateEntriesPayloadV3; } export interface CatalogV3CreateEntryRequest { /** * */ body: CatalogCreateEntryPayloadV3; } export interface CatalogV3CreateTypeRequest { /** * */ body: CatalogCreateTypePayloadV3; } export interface CatalogV3DestroyEntryRequest { /** * ID of this catalog entry */ id: string; } export interface CatalogV3DestroyTypeRequest { /** * ID of this catalog type */ id: string; } export interface CatalogV3ListEntriesRequest { /** * ID of this catalog type */ catalog_type_id: string; /** * The 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; /** * If specified, only entries with this identifier will be returned. This will search by ID, external ID, and aliases. * * If 'use name as identifier' is enabled for the catalog type, this will also match on name. */ identifier?: string; } export interface CatalogV3ShowEntryRequest { /** * ID of this catalog entry */ id: string; /** * Whether to include details of all attribute links (forwards and backwards) within the response. Default behaviour (no query param) is to include only forward links. When expand is false, we only show attributes of the catalog entry itself.When expand is true, we show forward and backward links */ expand?: boolean; } export interface CatalogV3ShowTypeRequest { /** * ID of this catalog type */ id: string; } export interface CatalogV3UpdateEntryRequest { /** * ID of this catalog entry */ id: string; /** * */ body: CatalogUpdateEntryPayloadV3; } export interface CatalogV3UpdateTypeRequest { /** * ID of this catalog type */ id: string; /** * */ body: CatalogUpdateTypePayloadV3; } export interface CatalogV3UpdateTypeSchemaRequest { /** * ID of this catalog type */ id: string; /** * */ body: CatalogUpdateTypeSchemaPayloadV3; } /** * catalogV3ListResources 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 CatalogV3ListResourcesRequest { [key: string]: never; } /** * catalogV3ListTypes 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 CatalogV3ListTypesRequest { [key: string]: never; } /** * */ export declare class CatalogV3Api extends runtime.BaseAPI { /** * Creates request options for catalogV3BulkUpdateEntries without sending the request */ catalogV3BulkUpdateEntriesRequestOpts(requestParameters: CatalogV3BulkUpdateEntriesRequest): Promise; /** * Update multiple catalog entries in a single operation. You can update up to 250 entries at once. This operation is atomic - either all entries are updated successfully, or none are updated. * BulkUpdateEntries Catalog V3 */ catalogV3BulkUpdateEntriesRaw(requestParameters: CatalogV3BulkUpdateEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Update multiple catalog entries in a single operation. You can update up to 250 entries at once. This operation is atomic - either all entries are updated successfully, or none are updated. * BulkUpdateEntries Catalog V3 */ catalogV3BulkUpdateEntries(requestParameters: CatalogV3BulkUpdateEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3CreateEntry without sending the request */ catalogV3CreateEntryRequestOpts(requestParameters: CatalogV3CreateEntryRequest): 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 V3 */ catalogV3CreateEntryRaw(requestParameters: CatalogV3CreateEntryRequest, 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 V3 */ catalogV3CreateEntry(requestParameters: CatalogV3CreateEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3CreateType without sending the request */ catalogV3CreateTypeRequestOpts(requestParameters: CatalogV3CreateTypeRequest): Promise; /** * Create a catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * CreateType Catalog V3 */ catalogV3CreateTypeRaw(requestParameters: CatalogV3CreateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * CreateType Catalog V3 */ catalogV3CreateType(requestParameters: CatalogV3CreateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3DestroyEntry without sending the request */ catalogV3DestroyEntryRequestOpts(requestParameters: CatalogV3DestroyEntryRequest): Promise; /** * Archives a catalog entry. * DestroyEntry Catalog V3 */ catalogV3DestroyEntryRaw(requestParameters: CatalogV3DestroyEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Archives a catalog entry. * DestroyEntry Catalog V3 */ catalogV3DestroyEntry(requestParameters: CatalogV3DestroyEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3DestroyType without sending the request */ catalogV3DestroyTypeRequestOpts(requestParameters: CatalogV3DestroyTypeRequest): Promise; /** * Archives a catalog type and associated entries. * DestroyType Catalog V3 */ catalogV3DestroyTypeRaw(requestParameters: CatalogV3DestroyTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Archives a catalog type and associated entries. * DestroyType Catalog V3 */ catalogV3DestroyType(requestParameters: CatalogV3DestroyTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3ListEntries without sending the request */ catalogV3ListEntriesRequestOpts(requestParameters: CatalogV3ListEntriesRequest): Promise; /** * List entries for a catalog type. * ListEntries Catalog V3 */ catalogV3ListEntriesRaw(requestParameters: CatalogV3ListEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List entries for a catalog type. * ListEntries Catalog V3 */ catalogV3ListEntries(requestParameters: CatalogV3ListEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3ListResources without sending the request */ catalogV3ListResourcesRequestOpts(requestParameters: CatalogV3ListResourcesRequest): 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 V3 */ catalogV3ListResourcesRaw(requestParameters: CatalogV3ListResourcesRequest, 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 V3 */ catalogV3ListResources(requestParameters?: CatalogV3ListResourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3ListTypes without sending the request */ catalogV3ListTypesRequestOpts(requestParameters: CatalogV3ListTypesRequest): Promise; /** * List all catalog types for an organisation, including those synced from external resources. * ListTypes Catalog V3 */ catalogV3ListTypesRaw(requestParameters: CatalogV3ListTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List all catalog types for an organisation, including those synced from external resources. * ListTypes Catalog V3 */ catalogV3ListTypes(requestParameters?: CatalogV3ListTypesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3ShowEntry without sending the request */ catalogV3ShowEntryRequestOpts(requestParameters: CatalogV3ShowEntryRequest): Promise; /** * Show a single catalog entry. * ShowEntry Catalog V3 */ catalogV3ShowEntryRaw(requestParameters: CatalogV3ShowEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Show a single catalog entry. * ShowEntry Catalog V3 */ catalogV3ShowEntry(requestParameters: CatalogV3ShowEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3ShowType without sending the request */ catalogV3ShowTypeRequestOpts(requestParameters: CatalogV3ShowTypeRequest): Promise; /** * Show a single catalog type. * ShowType Catalog V3 */ catalogV3ShowTypeRaw(requestParameters: CatalogV3ShowTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Show a single catalog type. * ShowType Catalog V3 */ catalogV3ShowType(requestParameters: CatalogV3ShowTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3UpdateEntry without sending the request */ catalogV3UpdateEntryRequestOpts(requestParameters: CatalogV3UpdateEntryRequest): Promise; /** * Updates an existing catalog entry. * UpdateEntry Catalog V3 */ catalogV3UpdateEntryRaw(requestParameters: CatalogV3UpdateEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates an existing catalog entry. * UpdateEntry Catalog V3 */ catalogV3UpdateEntry(requestParameters: CatalogV3UpdateEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3UpdateType without sending the request */ catalogV3UpdateTypeRequestOpts(requestParameters: CatalogV3UpdateTypeRequest): Promise; /** * Updates an existing catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * UpdateType Catalog V3 */ catalogV3UpdateTypeRaw(requestParameters: CatalogV3UpdateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates an existing catalog type. The schema must be updated using the UpdateTypeSchema endpoint. * UpdateType Catalog V3 */ catalogV3UpdateType(requestParameters: CatalogV3UpdateTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for catalogV3UpdateTypeSchema without sending the request */ catalogV3UpdateTypeSchemaRequestOpts(requestParameters: CatalogV3UpdateTypeSchemaRequest): 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 V3 */ catalogV3UpdateTypeSchemaRaw(requestParameters: CatalogV3UpdateTypeSchemaRequest, 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 V3 */ catalogV3UpdateTypeSchema(requestParameters: CatalogV3UpdateTypeSchemaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }