/** * 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 GlossaryEntriesCreatePayloadV2 } from '../models/GlossaryEntriesCreatePayloadV2.js'; import { type GlossaryEntriesCreateResultV2 } from '../models/GlossaryEntriesCreateResultV2.js'; import { type GlossaryEntriesListResultV2 } from '../models/GlossaryEntriesListResultV2.js'; import { type GlossaryEntriesShowResultV2 } from '../models/GlossaryEntriesShowResultV2.js'; import { type GlossaryEntriesUpdatePayloadV2 } from '../models/GlossaryEntriesUpdatePayloadV2.js'; import { type GlossaryEntriesUpdateRanksPayloadV2 } from '../models/GlossaryEntriesUpdateRanksPayloadV2.js'; import { type GlossaryEntriesUpdateRanksResultV2 } from '../models/GlossaryEntriesUpdateRanksResultV2.js'; import { type GlossaryEntriesUpdateResultV2 } from '../models/GlossaryEntriesUpdateResultV2.js'; export interface GlossaryEntriesV2CreateRequest { /** * */ body: GlossaryEntriesCreatePayloadV2; } export interface GlossaryEntriesV2DestroyRequest { /** * Unique identifier for this glossary entry */ id: string; } export interface GlossaryEntriesV2ListRequest { /** * Number of glossary entries to return per page */ page_size?: number; /** * A glossary entry's ID. This endpoint returns entries after this one. Without search, that is later in rank order. With search, it is the next hit after this entry. */ after?: string; /** * Filter to entries whose term or description contains this value (case-insensitive) */ search?: string; } export interface GlossaryEntriesV2ShowRequest { /** * Unique identifier for this glossary entry */ id: string; } export interface GlossaryEntriesV2UpdateRequest { /** * Unique identifier for this glossary entry */ id: string; /** * */ body: GlossaryEntriesUpdatePayloadV2; } export interface GlossaryEntriesV2UpdateRanksRequest { /** * */ body: GlossaryEntriesUpdateRanksPayloadV2; } /** * */ export declare class GlossaryEntriesV2Api extends runtime.BaseAPI { /** * Creates request options for glossaryEntriesV2Create without sending the request */ glossaryEntriesV2CreateRequestOpts(requestParameters: GlossaryEntriesV2CreateRequest): Promise; /** * Create a glossary entry. It is appended to the end of the glossary unless after names an existing entry to insert it after. * Create Glossary Entries V2 */ glossaryEntriesV2CreateRaw(requestParameters: GlossaryEntriesV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a glossary entry. It is appended to the end of the glossary unless after names an existing entry to insert it after. * Create Glossary Entries V2 */ glossaryEntriesV2Create(requestParameters: GlossaryEntriesV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for glossaryEntriesV2Destroy without sending the request */ glossaryEntriesV2DestroyRequestOpts(requestParameters: GlossaryEntriesV2DestroyRequest): Promise; /** * Delete a glossary entry. The entry is archived, which frees its term so the same item can be added again later. * Destroy Glossary Entries V2 */ glossaryEntriesV2DestroyRaw(requestParameters: GlossaryEntriesV2DestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Delete a glossary entry. The entry is archived, which frees its term so the same item can be added again later. * Destroy Glossary Entries V2 */ glossaryEntriesV2Destroy(requestParameters: GlossaryEntriesV2DestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for glossaryEntriesV2List without sending the request */ glossaryEntriesV2ListRequestOpts(requestParameters: GlossaryEntriesV2ListRequest): Promise; /** * List glossary entries for this organisation, in rank order. * List Glossary Entries V2 */ glossaryEntriesV2ListRaw(requestParameters: GlossaryEntriesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * List glossary entries for this organisation, in rank order. * List Glossary Entries V2 */ glossaryEntriesV2List(requestParameters?: GlossaryEntriesV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for glossaryEntriesV2Show without sending the request */ glossaryEntriesV2ShowRequestOpts(requestParameters: GlossaryEntriesV2ShowRequest): Promise; /** * Get a single glossary entry. * Show Glossary Entries V2 */ glossaryEntriesV2ShowRaw(requestParameters: GlossaryEntriesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get a single glossary entry. * Show Glossary Entries V2 */ glossaryEntriesV2Show(requestParameters: GlossaryEntriesV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for glossaryEntriesV2Update without sending the request */ glossaryEntriesV2UpdateRequestOpts(requestParameters: GlossaryEntriesV2UpdateRequest): Promise; /** * Update a glossary entry\'s term or description. Rank is unchanged; use the reorder action for that. * Update Glossary Entries V2 */ glossaryEntriesV2UpdateRaw(requestParameters: GlossaryEntriesV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Update a glossary entry\'s term or description. Rank is unchanged; use the reorder action for that. * Update Glossary Entries V2 */ glossaryEntriesV2Update(requestParameters: GlossaryEntriesV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for glossaryEntriesV2UpdateRanks without sending the request */ glossaryEntriesV2UpdateRanksRequestOpts(requestParameters: GlossaryEntriesV2UpdateRanksRequest): Promise; /** * Reorder glossary entries. Every live entry must be included exactly once. * UpdateRanks Glossary Entries V2 */ glossaryEntriesV2UpdateRanksRaw(requestParameters: GlossaryEntriesV2UpdateRanksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Reorder glossary entries. Every live entry must be included exactly once. * UpdateRanks Glossary Entries V2 */ glossaryEntriesV2UpdateRanks(requestParameters: GlossaryEntriesV2UpdateRanksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }