/** * Jira Software Cloud API * Jira Software Cloud REST API documentation * * The version of the OpenAPI document: 1001.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'; import { BodiesSubmitFeatureFlags } from '../models'; export interface DeleteFeatureFlagByIdRequest { Authorization: string; featureFlagId: string; _updateSequenceId?: number; } export interface DeleteFeatureFlagsByPropertyRequest { Authorization: string; _updateSequenceId?: number; } export interface GetFeatureFlagByIdRequest { Authorization: string; featureFlagId: string; } export interface SubmitFeatureFlagsRequest { Authorization: string; BodiesSubmitFeatureFlags: BodiesSubmitFeatureFlags; } /** * no description */ export declare class FeatureFlagsApi extends runtime.BaseAPI { /** * Delete the Feature Flag data currently stored for the given ID. Deletion is performed asynchronously. The getFeatureFlagById operation can be used to confirm that data has been deleted successfully (if needed). Only apps that define the Feature Flags module can access this resource. This resource requires the \'DELETE\' scope. * Delete a Feature Flag by ID */ deleteFeatureFlagByIdRaw(requestParameters: DeleteFeatureFlagByIdRequest): Promise>; /** * Delete the Feature Flag data currently stored for the given ID. Deletion is performed asynchronously. The getFeatureFlagById operation can be used to confirm that data has been deleted successfully (if needed). Only apps that define the Feature Flags module can access this resource. This resource requires the \'DELETE\' scope. * Delete a Feature Flag by ID */ deleteFeatureFlagById(requestParameters: DeleteFeatureFlagByIdRequest): Promise; /** * Bulk delete all Feature Flags that match the given request. In addition to the optional `updateSequenceId`, one or more query params must be supplied to specify Properties to delete by. If more than one Property is provided, data will be deleted that matches ALL of the Properties (e.g. treated as an AND). See the documentation for the submitFeatureFlags operation for more details. e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456 Deletion is performed asynchronously. The getFeatureFlagById operation can be used to confirm that data has been deleted successfully (if needed). Only apps that define the Feature Flags module can access this resource. This resource requires the \'DELETE\' scope. * Delete Feature Flags by Property */ deleteFeatureFlagsByPropertyRaw(requestParameters: DeleteFeatureFlagsByPropertyRequest): Promise>; /** * Bulk delete all Feature Flags that match the given request. In addition to the optional `updateSequenceId`, one or more query params must be supplied to specify Properties to delete by. If more than one Property is provided, data will be deleted that matches ALL of the Properties (e.g. treated as an AND). See the documentation for the submitFeatureFlags operation for more details. e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456 Deletion is performed asynchronously. The getFeatureFlagById operation can be used to confirm that data has been deleted successfully (if needed). Only apps that define the Feature Flags module can access this resource. This resource requires the \'DELETE\' scope. * Delete Feature Flags by Property */ deleteFeatureFlagsByProperty(requestParameters: DeleteFeatureFlagsByPropertyRequest): Promise; /** * Retrieve the currently stored Feature Flag data for the given ID. The result will be what is currently stored, ignoring any pending updates or deletes. Only apps that define the Feature Flags module can access this resource. This resource requires the \'READ\' scope. * Get a Feature Flag by ID */ getFeatureFlagByIdRaw(requestParameters: GetFeatureFlagByIdRequest): Promise>; /** * Retrieve the currently stored Feature Flag data for the given ID. The result will be what is currently stored, ignoring any pending updates or deletes. Only apps that define the Feature Flags module can access this resource. This resource requires the \'READ\' scope. * Get a Feature Flag by ID */ getFeatureFlagById(requestParameters: GetFeatureFlagByIdRequest): Promise; /** * Update / insert Feature Flag data. Feature Flags are identified by their ID, and existing Feature Flag data for the same ID will be replaced if it exists and the updateSequenceId of existing data is less than the incoming data. Submissions are performed asynchronously. Submitted data will eventually be available in Jira; most updates are available within a short period of time, but may take some time during peak load and/or maintenance times. The getFeatureFlagById operation can be used to confirm that data has been stored successfully (if needed). In the case of multiple Feature Flags being submitted in one request, each is validated individually prior to submission. Details of which Feature Flags failed submission (if any) are available in the response object. Only apps that define the Feature Flags module can access this resource. This resource requires the \'WRITE\' scope. * Submit Feature Flag data */ submitFeatureFlagsRaw(requestParameters: SubmitFeatureFlagsRequest): Promise>; /** * Update / insert Feature Flag data. Feature Flags are identified by their ID, and existing Feature Flag data for the same ID will be replaced if it exists and the updateSequenceId of existing data is less than the incoming data. Submissions are performed asynchronously. Submitted data will eventually be available in Jira; most updates are available within a short period of time, but may take some time during peak load and/or maintenance times. The getFeatureFlagById operation can be used to confirm that data has been stored successfully (if needed). In the case of multiple Feature Flags being submitted in one request, each is validated individually prior to submission. Details of which Feature Flags failed submission (if any) are available in the response object. Only apps that define the Feature Flags module can access this resource. This resource requires the \'WRITE\' scope. * Submit Feature Flag data */ submitFeatureFlags(requestParameters: SubmitFeatureFlagsRequest): Promise; }