From 0aca92e44d97da22bf45042ee67d6670f9f9b6c3 Mon Sep 17 00:00:00 2001 From: Lali Date: Thu, 10 Aug 2023 18:12:22 +0200 Subject: [PATCH 1/2] regen --- projects/ng-configcat-publicapi/package.json | 2 +- .../src/.openapi-generator/FILES | 10 +++--- ...eFlagSettingValuesUsingSDKKeyV2.service.ts | 18 +++++----- .../api/featureFlagSettingValuesV2.service.ts | 36 +++++++++---------- .../src/model/conditionModel.ts | 4 +-- .../src/model/models.ts | 10 +++--- .../src/model/prerequisiteComparator.ts | 23 ++++++++++++ .../model/prerequisiteFlagConditionModel.ts | 30 ++++++++++++++++ .../src/model/updateEvaluationFormulaModel.ts | 27 ++++++++++++++ .../updateEvaluationFormulaWithIdModel.ts | 31 ++++++++++++++++ .../model/updateEvaluationFormulasModel.ts | 21 +++++++++++ 11 files changed, 172 insertions(+), 40 deletions(-) create mode 100644 projects/ng-configcat-publicapi/src/model/prerequisiteComparator.ts create mode 100644 projects/ng-configcat-publicapi/src/model/prerequisiteFlagConditionModel.ts create mode 100644 projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaModel.ts create mode 100644 projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdModel.ts create mode 100644 projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasModel.ts diff --git a/projects/ng-configcat-publicapi/package.json b/projects/ng-configcat-publicapi/package.json index aeda8a4..a41147e 100644 --- a/projects/ng-configcat-publicapi/package.json +++ b/projects/ng-configcat-publicapi/package.json @@ -1,6 +1,6 @@ { "name": "ng-configcat-publicapi", - "version": "4.0.0", + "version": "4.1.0", "peerDependencies": { "@angular/common": "^15.2.9", "@angular/core": "^15.2.9" diff --git a/projects/ng-configcat-publicapi/src/.openapi-generator/FILES b/projects/ng-configcat-publicapi/src/.openapi-generator/FILES index 281d6c7..7bbe874 100644 --- a/projects/ng-configcat-publicapi/src/.openapi-generator/FILES +++ b/projects/ng-configcat-publicapi/src/.openapi-generator/FILES @@ -66,8 +66,6 @@ model/createSettingInitialValues.ts model/createTagModel.ts model/deleteIntegrationLinkModel.ts model/deleteRepositoryReportsRequest.ts -model/dependencyComparator.ts -model/dependentFlagConditionModel.ts model/environmentAccessModel.ts model/environmentAccessType.ts model/environmentModel.ts @@ -90,6 +88,8 @@ model/organizationModelHaljson.ts model/percentageOptionModel.ts model/permissionGroupModel.ts model/permissionGroupModelHaljson.ts +model/prerequisiteComparator.ts +model/prerequisiteFlagConditionModel.ts model/productModel.ts model/productModelHaljson.ts model/referenceLine.ts @@ -124,9 +124,9 @@ model/tagModelHaljson.ts model/targetingRuleModel.ts model/updateConfigRequest.ts model/updateEnvironmentModel.ts -model/updateEvaluationFormulaDto.ts -model/updateEvaluationFormulaWithIdDto.ts -model/updateEvaluationFormulasDto.ts +model/updateEvaluationFormulaModel.ts +model/updateEvaluationFormulaWithIdModel.ts +model/updateEvaluationFormulasModel.ts model/updatePermissionGroupRequest.ts model/updateProductRequest.ts model/updateSegmentModel.ts diff --git a/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesUsingSDKKeyV2.service.ts b/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesUsingSDKKeyV2.service.ts index 5f82560..ba7b31e 100644 --- a/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesUsingSDKKeyV2.service.ts +++ b/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesUsingSDKKeyV2.service.ts @@ -25,7 +25,7 @@ import { SettingFormulaModel } from '../model/settingFormulaModel'; // @ts-ignore import { SettingFormulaModelHaljson } from '../model/settingFormulaModelHaljson'; // @ts-ignore -import { UpdateEvaluationFormulaDto } from '../model/updateEvaluationFormulaDto'; +import { UpdateEvaluationFormulaModel } from '../model/updateEvaluationFormulaModel'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; @@ -172,21 +172,21 @@ export class FeatureFlagSettingValuesUsingSDKKeyV2Service { * Replace value * This endpoint replaces the value and the Targeting Rules of a Feature Flag or Setting in a specified Environment identified by the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://app.configcat.com/sdkkey\">SDK key</a> passed in the `X-CONFIGCAT-SDKKEY` header. Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint. **Important:** As this endpoint is doing a complete replace, it\'s important to set every other field that you don\'t want to change to its original state. Not listing one means that it will reset. For example: We have the following resource of a Feature Flag. ``` { \"defaultValue\": { \"boolValue\": false, }, \"targetingRules\": [ { \"conditions\": [ { \"userCondition\": { \"comparisonAttribute\": \"Email\", \"comparator\": \"sensitiveTextEquals\", \"comparisonValue\": { \"stringValue\": \"test@example.com\", } }, } ], \"percentageOptions\": [], \"value\": { \"boolValue\": true, } } ], } ``` If we send a replace request body as below: ``` { \"defaultValue\": { \"boolValue\": true, }, } ``` Then besides that the default served value is set to `true`, all the Targeting Rules are deleted. So we get a response like this: ``` { \"defaultValue\": { \"boolValue\": true, }, \"targetingRules\": [], } ``` * @param settingKeyOrId The key or id of the Setting. - * @param updateEvaluationFormulaDto + * @param updateEvaluationFormulaModel * @param reason The reason note for the Audit Log if the Product\'s \"Config changes require a reason\" preference is turned on. * @param xCONFIGCATSDKKEY The ConfigCat SDK Key. (https://app.configcat.com/sdkkey) * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, xCONFIGCATSDKKEY?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable; - public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, xCONFIGCATSDKKEY?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; - public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, xCONFIGCATSDKKEY?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; - public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, xCONFIGCATSDKKEY?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable { + public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, xCONFIGCATSDKKEY?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable; + public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, xCONFIGCATSDKKEY?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; + public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, xCONFIGCATSDKKEY?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; + public replaceSettingValueBySdkkeyV2(settingKeyOrId: string, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, xCONFIGCATSDKKEY?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable { if (settingKeyOrId === null || settingKeyOrId === undefined) { throw new Error('Required parameter settingKeyOrId was null or undefined when calling replaceSettingValueBySdkkeyV2.'); } - if (updateEvaluationFormulaDto === null || updateEvaluationFormulaDto === undefined) { - throw new Error('Required parameter updateEvaluationFormulaDto was null or undefined when calling replaceSettingValueBySdkkeyV2.'); + if (updateEvaluationFormulaModel === null || updateEvaluationFormulaModel === undefined) { + throw new Error('Required parameter updateEvaluationFormulaModel was null or undefined when calling replaceSettingValueBySdkkeyV2.'); } let localVarQueryParameters = new HttpParams({encoder: this.encoder}); @@ -252,7 +252,7 @@ export class FeatureFlagSettingValuesUsingSDKKeyV2Service { return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, { context: localVarHttpContext, - body: updateEvaluationFormulaDto, + body: updateEvaluationFormulaModel, params: localVarQueryParameters, responseType: responseType_, withCredentials: this.configuration.withCredentials, diff --git a/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesV2.service.ts b/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesV2.service.ts index 52c07b3..c783a2c 100644 --- a/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesV2.service.ts +++ b/projects/ng-configcat-publicapi/src/api/featureFlagSettingValuesV2.service.ts @@ -29,9 +29,9 @@ import { SettingFormulaModel } from '../model/settingFormulaModel'; // @ts-ignore import { SettingFormulaModelHaljson } from '../model/settingFormulaModelHaljson'; // @ts-ignore -import { UpdateEvaluationFormulaDto } from '../model/updateEvaluationFormulaDto'; +import { UpdateEvaluationFormulaModel } from '../model/updateEvaluationFormulaModel'; // @ts-ignore -import { UpdateEvaluationFormulasDto } from '../model/updateEvaluationFormulasDto'; +import { UpdateEvaluationFormulasModel } from '../model/updateEvaluationFormulasModel'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; @@ -250,23 +250,23 @@ export class FeatureFlagSettingValuesV2Service { * This endpoint batch updates the Feature Flags and Settings of a Config identified by the `configId` parameter in a specified Environment identified by the `environmentId` parameter. Only those Feature Flags and Settings are updated which are part of the request, all the others are left untouched. **Important:** As this endpoint is doing a complete replace on those Feature Flags and Settings, which are set in the request. It\'s important to set every other field that you don\'t want to change in its original state. Not listing a field means that it will reset. For example: We have the following resource of a Feature Flag. ``` { \"settingValues\": [ { \"defaultValue\": { \"boolValue\": false, }, \"targetingRules\": [ { \"conditions\": [ { \"userCondition\": { \"comparisonAttribute\": \"Email\", \"comparator\": \"sensitiveTextEquals\", \"comparisonValue\": { \"stringValue\": \"test@example.com\", } }, } ], \"percentageOptions\": [], \"value\": { \"boolValue\": true, } } ], \"settingId\": 1 } ] } ``` If we send a batch replace request body as below: ``` { \"settingValues\": [ { \"defaultValue\": { \"boolValue\": false, }, \"settingId\": 1 } ] } ``` Then besides that the default value is set to `true`, all Targeting Rules of the related Feature Flag are deleted. So we get a response like this: ``` { \"settingValues\": [ { \"defaultValue\": { \"boolValue\": false, }, \"targetingRules\": [], \"setting\": { \"settingId\": 1 } } ] } ``` * @param configId The identifier of the Config. * @param environmentId The identifier of the Environment. - * @param updateEvaluationFormulasDto + * @param updateEvaluationFormulasModel * @param reason The reason note for the Audit Log if the Product\'s \"Config changes require a reason\" preference is turned on. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasDto: UpdateEvaluationFormulasDto, reason?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable; - public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasDto: UpdateEvaluationFormulasDto, reason?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; - public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasDto: UpdateEvaluationFormulasDto, reason?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; - public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasDto: UpdateEvaluationFormulasDto, reason?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable { + public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasModel: UpdateEvaluationFormulasModel, reason?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable; + public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasModel: UpdateEvaluationFormulasModel, reason?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; + public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasModel: UpdateEvaluationFormulasModel, reason?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; + public postSettingValuesV2(configId: string, environmentId: string, updateEvaluationFormulasModel: UpdateEvaluationFormulasModel, reason?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable { if (configId === null || configId === undefined) { throw new Error('Required parameter configId was null or undefined when calling postSettingValuesV2.'); } if (environmentId === null || environmentId === undefined) { throw new Error('Required parameter environmentId was null or undefined when calling postSettingValuesV2.'); } - if (updateEvaluationFormulasDto === null || updateEvaluationFormulasDto === undefined) { - throw new Error('Required parameter updateEvaluationFormulasDto was null or undefined when calling postSettingValuesV2.'); + if (updateEvaluationFormulasModel === null || updateEvaluationFormulasModel === undefined) { + throw new Error('Required parameter updateEvaluationFormulasModel was null or undefined when calling postSettingValuesV2.'); } let localVarQueryParameters = new HttpParams({encoder: this.encoder}); @@ -329,7 +329,7 @@ export class FeatureFlagSettingValuesV2Service { return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, { context: localVarHttpContext, - body: updateEvaluationFormulasDto, + body: updateEvaluationFormulasModel, params: localVarQueryParameters, responseType: responseType_, withCredentials: this.configuration.withCredentials, @@ -345,23 +345,23 @@ export class FeatureFlagSettingValuesV2Service { * This endpoint replaces the value and the Targeting Rules of a Feature Flag or Setting in a specified Environment identified by the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://app.configcat.com/sdkkey\">SDK key</a> passed in the `X-CONFIGCAT-SDKKEY` header. Only the `defaultValue`, `targetingRules`, and `percentageEvaluationAttribute` fields are modifiable by this endpoint. **Important:** As this endpoint is doing a complete replace, it\'s important to set every other field that you don\'t want to change to its original state. Not listing one means that it will reset. For example: We have the following resource of a Feature Flag. ``` { \"defaultValue\": { \"boolValue\": false, }, \"targetingRules\": [ { \"conditions\": [ { \"userCondition\": { \"comparisonAttribute\": \"Email\", \"comparator\": \"sensitiveTextEquals\", \"comparisonValue\": { \"stringValue\": \"test@example.com\", } }, } ], \"percentageOptions\": [], \"value\": { \"boolValue\": true, } } ], } ``` If we send a replace request body as below: ``` { \"defaultValue\": { \"boolValue\": true, }, } ``` Then besides that the default served value is set to `true`, all the Targeting Rules are deleted. So we get a response like this: ``` { \"defaultValue\": { \"boolValue\": true, }, \"targetingRules\": [], } ``` * @param environmentId The identifier of the Environment. * @param settingId The id of the Setting. - * @param updateEvaluationFormulaDto + * @param updateEvaluationFormulaModel * @param reason The reason note for the Audit Log if the Product\'s \"Config changes require a reason\" preference is turned on. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable; - public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; - public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; - public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaDto: UpdateEvaluationFormulaDto, reason?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable { + public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable; + public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; + public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable>; + public replaceSettingValueV2(environmentId: string, settingId: number, updateEvaluationFormulaModel: UpdateEvaluationFormulaModel, reason?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json' | 'application/hal+json', context?: HttpContext}): Observable { if (environmentId === null || environmentId === undefined) { throw new Error('Required parameter environmentId was null or undefined when calling replaceSettingValueV2.'); } if (settingId === null || settingId === undefined) { throw new Error('Required parameter settingId was null or undefined when calling replaceSettingValueV2.'); } - if (updateEvaluationFormulaDto === null || updateEvaluationFormulaDto === undefined) { - throw new Error('Required parameter updateEvaluationFormulaDto was null or undefined when calling replaceSettingValueV2.'); + if (updateEvaluationFormulaModel === null || updateEvaluationFormulaModel === undefined) { + throw new Error('Required parameter updateEvaluationFormulaModel was null or undefined when calling replaceSettingValueV2.'); } let localVarQueryParameters = new HttpParams({encoder: this.encoder}); @@ -424,7 +424,7 @@ export class FeatureFlagSettingValuesV2Service { return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, { context: localVarHttpContext, - body: updateEvaluationFormulaDto, + body: updateEvaluationFormulaModel, params: localVarQueryParameters, responseType: responseType_, withCredentials: this.configuration.withCredentials, diff --git a/projects/ng-configcat-publicapi/src/model/conditionModel.ts b/projects/ng-configcat-publicapi/src/model/conditionModel.ts index 69b47e7..8a33405 100644 --- a/projects/ng-configcat-publicapi/src/model/conditionModel.ts +++ b/projects/ng-configcat-publicapi/src/model/conditionModel.ts @@ -11,12 +11,12 @@ */ import { SegmentConditionModel } from './segmentConditionModel'; import { UserConditionModel } from './userConditionModel'; -import { DependentFlagConditionModel } from './dependentFlagConditionModel'; +import { PrerequisiteFlagConditionModel } from './prerequisiteFlagConditionModel'; export interface ConditionModel { userCondition?: UserConditionModel; segmentCondition?: SegmentConditionModel; - dependentFlagCondition?: DependentFlagConditionModel; + prerequisiteFlagCondition?: PrerequisiteFlagConditionModel; } diff --git a/projects/ng-configcat-publicapi/src/model/models.ts b/projects/ng-configcat-publicapi/src/model/models.ts index bb0d2e7..314bcd8 100644 --- a/projects/ng-configcat-publicapi/src/model/models.ts +++ b/projects/ng-configcat-publicapi/src/model/models.ts @@ -40,8 +40,6 @@ export * from './createSettingInitialValues'; export * from './createTagModel'; export * from './deleteIntegrationLinkModel'; export * from './deleteRepositoryReportsRequest'; -export * from './dependencyComparator'; -export * from './dependentFlagConditionModel'; export * from './environmentAccessModel'; export * from './environmentAccessType'; export * from './environmentModel'; @@ -63,6 +61,8 @@ export * from './organizationModelHaljson'; export * from './percentageOptionModel'; export * from './permissionGroupModel'; export * from './permissionGroupModelHaljson'; +export * from './prerequisiteComparator'; +export * from './prerequisiteFlagConditionModel'; export * from './productModel'; export * from './productModelHaljson'; export * from './referenceLine'; @@ -97,9 +97,9 @@ export * from './tagModelHaljson'; export * from './targetingRuleModel'; export * from './updateConfigRequest'; export * from './updateEnvironmentModel'; -export * from './updateEvaluationFormulaDto'; -export * from './updateEvaluationFormulaWithIdDto'; -export * from './updateEvaluationFormulasDto'; +export * from './updateEvaluationFormulaModel'; +export * from './updateEvaluationFormulaWithIdModel'; +export * from './updateEvaluationFormulasModel'; export * from './updatePermissionGroupRequest'; export * from './updateProductRequest'; export * from './updateSegmentModel'; diff --git a/projects/ng-configcat-publicapi/src/model/prerequisiteComparator.ts b/projects/ng-configcat-publicapi/src/model/prerequisiteComparator.ts new file mode 100644 index 0000000..1029f07 --- /dev/null +++ b/projects/ng-configcat-publicapi/src/model/prerequisiteComparator.ts @@ -0,0 +1,23 @@ +/** + * ConfigCat Public Management API + * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. + * + * The version of the OpenAPI document: v1 + * Contact: support@configcat.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +/** + * The comparison operator used during the evaluation process. + */ +export type PrerequisiteComparator = 'equals' | 'doesNotEqual'; + +export const PrerequisiteComparator = { + Equals: 'equals' as PrerequisiteComparator, + DoesNotEqual: 'doesNotEqual' as PrerequisiteComparator +}; + diff --git a/projects/ng-configcat-publicapi/src/model/prerequisiteFlagConditionModel.ts b/projects/ng-configcat-publicapi/src/model/prerequisiteFlagConditionModel.ts new file mode 100644 index 0000000..ee97b92 --- /dev/null +++ b/projects/ng-configcat-publicapi/src/model/prerequisiteFlagConditionModel.ts @@ -0,0 +1,30 @@ +/** + * ConfigCat Public Management API + * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. + * + * The version of the OpenAPI document: v1 + * Contact: support@configcat.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { ValueModel } from './valueModel'; +import { PrerequisiteComparator } from './prerequisiteComparator'; + + +/** + * Describes a condition that is based on a prerequisite flag. + */ +export interface PrerequisiteFlagConditionModel { + /** + * The prerequisite flag\'s identifier. + */ + prerequisiteSettingId: number; + comparator: PrerequisiteComparator; + prerequisiteComparisonValue: ValueModel; +} +export namespace PrerequisiteFlagConditionModel { +} + + diff --git a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaModel.ts b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaModel.ts new file mode 100644 index 0000000..67f5226 --- /dev/null +++ b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaModel.ts @@ -0,0 +1,27 @@ +/** + * ConfigCat Public Management API + * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. + * + * The version of the OpenAPI document: v1 + * Contact: support@configcat.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { ValueModel } from './valueModel'; +import { TargetingRuleModel } from './targetingRuleModel'; + + +export interface UpdateEvaluationFormulaModel { + defaultValue: ValueModel; + /** + * The targeting rules of the Feature Flag or Setting. + */ + targetingRules?: Array | null; + /** + * The user attribute used for percentage evaluation. If not set, it defaults to the `Identifier` user object attribute. + */ + percentageEvaluationAttribute?: string | null; +} + diff --git a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdModel.ts b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdModel.ts new file mode 100644 index 0000000..b4cae1b --- /dev/null +++ b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdModel.ts @@ -0,0 +1,31 @@ +/** + * ConfigCat Public Management API + * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. + * + * The version of the OpenAPI document: v1 + * Contact: support@configcat.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { ValueModel } from './valueModel'; +import { TargetingRuleModel } from './targetingRuleModel'; + + +export interface UpdateEvaluationFormulaWithIdModel { + defaultValue: ValueModel; + /** + * The targeting rules of the Feature Flag or Setting. + */ + targetingRules?: Array | null; + /** + * The user attribute used for percentage evaluation. If not set, it defaults to the `Identifier` user object attribute. + */ + percentageEvaluationAttribute?: string | null; + /** + * The identifier of the feature flag or setting. + */ + settingId?: number; +} + diff --git a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasModel.ts b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasModel.ts new file mode 100644 index 0000000..b46fa10 --- /dev/null +++ b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasModel.ts @@ -0,0 +1,21 @@ +/** + * ConfigCat Public Management API + * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. + * + * The version of the OpenAPI document: v1 + * Contact: support@configcat.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +import { UpdateEvaluationFormulaWithIdModel } from './updateEvaluationFormulaWithIdModel'; + + +export interface UpdateEvaluationFormulasModel { + /** + * Evaluation descriptors of each updated Feature Flag and Setting. + */ + updateFormulas?: Array | null; +} + From 980b7fc97fc5f07285b7cce50e4c902fdb07c9b7 Mon Sep 17 00:00:00 2001 From: Lali Date: Thu, 10 Aug 2023 18:13:51 +0200 Subject: [PATCH 2/2] cleanup --- .../src/model/createSettingModel.ts | 34 ------------------- .../src/model/dependencyComparator.ts | 23 ------------- .../src/model/dependentFlagConditionModel.ts | 30 ---------------- .../src/model/environmentModelHaljsonLinks.ts | 17 ---------- .../src/model/jsonNode.ts | 20 ----------- .../src/model/jsonNodeOptions.ts | 17 ---------- .../src/model/jsonPatch.ts | 18 ---------- .../src/model/jsonPointer.ts | 22 ------------ .../src/model/jsonPointerKind.ts | 21 ------------ .../src/model/operation.ts | 20 ----------- .../src/model/patchOperation.ts | 23 ------------- .../src/model/pointerSegment.ts | 18 ---------- .../model/settingModelHaljsonEmbeddedTags.ts | 23 ------------- .../model/settingValueModelHaljsonEmbedded.ts | 26 -------------- .../settingValueModelHaljsonEmbeddedConfig.ts | 24 ------------- ...ingValueModelHaljsonEmbeddedEnvironment.ts | 26 -------------- ...lueModelHaljsonEmbeddedIntegrationLinks.ts | 21 ------------ ...delHaljsonEmbeddedIntegrationLinksInner.ts | 21 ------------ ...settingValueModelHaljsonEmbeddedSetting.ts | 29 ---------------- ...ingValueModelHaljsonEmbeddedSettingTags.ts | 20 ----------- ...lueModelHaljsonEmbeddedSettingTagsInner.ts | 20 ----------- .../src/model/updateEvaluationFormulaDto.ts | 27 --------------- .../model/updateEvaluationFormulaWithIdDto.ts | 31 ----------------- .../src/model/updateEvaluationFormulasDto.ts | 21 ------------ 24 files changed, 552 deletions(-) delete mode 100644 projects/ng-configcat-publicapi/src/model/createSettingModel.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/dependencyComparator.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/dependentFlagConditionModel.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/environmentModelHaljsonLinks.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/jsonNode.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/jsonNodeOptions.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/jsonPatch.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/jsonPointer.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/jsonPointerKind.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/operation.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/patchOperation.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/pointerSegment.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingModelHaljsonEmbeddedTags.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbedded.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedConfig.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedEnvironment.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinks.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinksInner.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSetting.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTags.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTagsInner.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaDto.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdDto.ts delete mode 100644 projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasDto.ts diff --git a/projects/ng-configcat-publicapi/src/model/createSettingModel.ts b/projects/ng-configcat-publicapi/src/model/createSettingModel.ts deleted file mode 100644 index 45829ea..0000000 --- a/projects/ng-configcat-publicapi/src/model/createSettingModel.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { SettingType } from './settingType'; - - -export interface CreateSettingModel { - /** - * A short description for the setting, shown on the Dashboard UI. - */ - hint?: string | null; - /** - * The IDs of the tags which are attached to the setting. - */ - tags?: Array | null; - /** - * The key of the setting. - */ - key: string; - /** - * The name of the setting, shown on the Dashboard UI. - */ - name: string; - settingType: SettingType; -} - diff --git a/projects/ng-configcat-publicapi/src/model/dependencyComparator.ts b/projects/ng-configcat-publicapi/src/model/dependencyComparator.ts deleted file mode 100644 index 2f3ca61..0000000 --- a/projects/ng-configcat-publicapi/src/model/dependencyComparator.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -/** - * The comparison operator used during the evaluation process. - */ -export type DependencyComparator = 'equals' | 'doesNotEqual'; - -export const DependencyComparator = { - Equals: 'equals' as DependencyComparator, - DoesNotEqual: 'doesNotEqual' as DependencyComparator -}; - diff --git a/projects/ng-configcat-publicapi/src/model/dependentFlagConditionModel.ts b/projects/ng-configcat-publicapi/src/model/dependentFlagConditionModel.ts deleted file mode 100644 index de424ee..0000000 --- a/projects/ng-configcat-publicapi/src/model/dependentFlagConditionModel.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { DependencyComparator } from './dependencyComparator'; -import { ValueModel } from './valueModel'; - - -/** - * Describes a condition that is based on a prerequisite flag. - */ -export interface DependentFlagConditionModel { - /** - * The prerequisite flag\'s identifier. - */ - dependencySettingId: number; - comparator: DependencyComparator; - dependencyComparisonValue: ValueModel; -} -export namespace DependentFlagConditionModel { -} - - diff --git a/projects/ng-configcat-publicapi/src/model/environmentModelHaljsonLinks.ts b/projects/ng-configcat-publicapi/src/model/environmentModelHaljsonLinks.ts deleted file mode 100644 index b6d53b6..0000000 --- a/projects/ng-configcat-publicapi/src/model/environmentModelHaljsonLinks.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface EnvironmentModelHaljsonLinks { - self?: string; -} - diff --git a/projects/ng-configcat-publicapi/src/model/jsonNode.ts b/projects/ng-configcat-publicapi/src/model/jsonNode.ts deleted file mode 100644 index 4c5c5ea..0000000 --- a/projects/ng-configcat-publicapi/src/model/jsonNode.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { JsonNodeOptions } from './jsonNodeOptions'; - - -export interface JsonNode { - options?: JsonNodeOptions; - parent?: JsonNode; - root?: JsonNode; -} - diff --git a/projects/ng-configcat-publicapi/src/model/jsonNodeOptions.ts b/projects/ng-configcat-publicapi/src/model/jsonNodeOptions.ts deleted file mode 100644 index 18da937..0000000 --- a/projects/ng-configcat-publicapi/src/model/jsonNodeOptions.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface JsonNodeOptions { - propertyNameCaseInsensitive?: boolean; -} - diff --git a/projects/ng-configcat-publicapi/src/model/jsonPatch.ts b/projects/ng-configcat-publicapi/src/model/jsonPatch.ts deleted file mode 100644 index 1b8724d..0000000 --- a/projects/ng-configcat-publicapi/src/model/jsonPatch.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { PatchOperation } from './patchOperation'; - - -export interface JsonPatch { - operations?: Array | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/jsonPointer.ts b/projects/ng-configcat-publicapi/src/model/jsonPointer.ts deleted file mode 100644 index 4458c26..0000000 --- a/projects/ng-configcat-publicapi/src/model/jsonPointer.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { JsonPointerKind } from './jsonPointerKind'; -import { PointerSegment } from './pointerSegment'; - - -export interface JsonPointer { - readonly source?: string | null; - readonly segments?: Array | null; - readonly isUriEncoded?: boolean; - kind?: JsonPointerKind; -} - diff --git a/projects/ng-configcat-publicapi/src/model/jsonPointerKind.ts b/projects/ng-configcat-publicapi/src/model/jsonPointerKind.ts deleted file mode 100644 index 180ced3..0000000 --- a/projects/ng-configcat-publicapi/src/model/jsonPointerKind.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export type JsonPointerKind = 'unspecified' | 'plain' | 'uriEncoded'; - -export const JsonPointerKind = { - Unspecified: 'unspecified' as JsonPointerKind, - Plain: 'plain' as JsonPointerKind, - UriEncoded: 'uriEncoded' as JsonPointerKind -}; - diff --git a/projects/ng-configcat-publicapi/src/model/operation.ts b/projects/ng-configcat-publicapi/src/model/operation.ts deleted file mode 100644 index 665686a..0000000 --- a/projects/ng-configcat-publicapi/src/model/operation.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface Operation { - value?: any | null; - path?: string | null; - op?: string | null; - from?: string | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/patchOperation.ts b/projects/ng-configcat-publicapi/src/model/patchOperation.ts deleted file mode 100644 index d3b6c82..0000000 --- a/projects/ng-configcat-publicapi/src/model/patchOperation.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { JsonNode } from './jsonNode'; -import { JsonPointer } from './jsonPointer'; -import { OperationType } from './operationType'; - - -export interface PatchOperation { - op?: OperationType; - from?: JsonPointer; - path?: JsonPointer; - value?: JsonNode; -} - diff --git a/projects/ng-configcat-publicapi/src/model/pointerSegment.ts b/projects/ng-configcat-publicapi/src/model/pointerSegment.ts deleted file mode 100644 index 5f986c2..0000000 --- a/projects/ng-configcat-publicapi/src/model/pointerSegment.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface PointerSegment { - readonly source?: string | null; - readonly value?: string | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingModelHaljsonEmbeddedTags.ts b/projects/ng-configcat-publicapi/src/model/settingModelHaljsonEmbeddedTags.ts deleted file mode 100644 index a459303..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingModelHaljsonEmbeddedTags.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { ConfigModelHaljsonEmbedded } from './configModelHaljsonEmbedded'; -import { EnvironmentModelHaljsonLinks } from './environmentModelHaljsonLinks'; - - -export interface SettingModelHaljsonEmbeddedTags { - _embedded?: ConfigModelHaljsonEmbedded; - tagId?: number; - name?: string | null; - color?: string | null; - _links?: EnvironmentModelHaljsonLinks; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbedded.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbedded.ts deleted file mode 100644 index 3f89a37..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbedded.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { SettingValueModelHaljsonEmbeddedConfig } from './settingValueModelHaljsonEmbeddedConfig'; -import { SettingValueModelHaljsonEmbeddedEnvironment } from './settingValueModelHaljsonEmbeddedEnvironment'; -import { SettingValueModelHaljsonEmbeddedSettingTagsInner } from './settingValueModelHaljsonEmbeddedSettingTagsInner'; -import { SettingValueModelHaljsonEmbeddedSetting } from './settingValueModelHaljsonEmbeddedSetting'; -import { SettingValueModelHaljsonEmbeddedIntegrationLinksInner } from './settingValueModelHaljsonEmbeddedIntegrationLinksInner'; - - -export interface SettingValueModelHaljsonEmbedded { - setting?: SettingValueModelHaljsonEmbeddedSetting; - config?: SettingValueModelHaljsonEmbeddedConfig; - environment?: SettingValueModelHaljsonEmbeddedEnvironment; - integrationLinks?: Array; - settingTags?: Array; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedConfig.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedConfig.ts deleted file mode 100644 index b95a6cf..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedConfig.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { ConfigModelHaljsonEmbedded } from './configModelHaljsonEmbedded'; -import { ConfigModelHaljsonLinks } from './configModelHaljsonLinks'; - - -export interface SettingValueModelHaljsonEmbeddedConfig { - _embedded?: ConfigModelHaljsonEmbedded; - configId?: string; - name?: string | null; - description?: string | null; - order?: number; - _links?: ConfigModelHaljsonLinks; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedEnvironment.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedEnvironment.ts deleted file mode 100644 index 3794ef8..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedEnvironment.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { ConfigModelHaljsonEmbedded } from './configModelHaljsonEmbedded'; -import { EnvironmentModelHaljsonLinks } from './environmentModelHaljsonLinks'; - - -export interface SettingValueModelHaljsonEmbeddedEnvironment { - _embedded?: ConfigModelHaljsonEmbedded; - environmentId?: string; - name?: string | null; - color?: string | null; - description?: string | null; - order?: number; - reasonRequired?: boolean; - _links?: EnvironmentModelHaljsonLinks; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinks.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinks.ts deleted file mode 100644 index e92157e..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinks.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { IntegrationLinkType } from './integrationLinkType'; - - -export interface SettingValueModelHaljsonEmbeddedIntegrationLinks { - key?: string | null; - description?: string | null; - integrationLinkType?: IntegrationLinkType; - url?: string | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinksInner.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinksInner.ts deleted file mode 100644 index c54e36f..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedIntegrationLinksInner.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { IntegrationLinkType } from './integrationLinkType'; - - -export interface SettingValueModelHaljsonEmbeddedIntegrationLinksInner { - key?: string | null; - description?: string | null; - integrationLinkType?: IntegrationLinkType; - url?: string | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSetting.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSetting.ts deleted file mode 100644 index e21e3a2..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSetting.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { SettingType } from './settingType'; - - -export interface SettingValueModelHaljsonEmbeddedSetting { - settingId?: number; - key?: string | null; - name?: string | null; - hint?: string | null; - settingType?: SettingType; - order?: number; - createdAt?: string | null; - creatorEmail?: string | null; - creatorFullName?: string | null; - ownerFullName?: string | null; - ownerEmail?: string | null; - isWatching?: boolean; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTags.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTags.ts deleted file mode 100644 index 2473ef7..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTags.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface SettingValueModelHaljsonEmbeddedSettingTags { - settingTagId?: number; - tagId?: number; - name?: string | null; - color?: string | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTagsInner.ts b/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTagsInner.ts deleted file mode 100644 index 6ac7771..0000000 --- a/projects/ng-configcat-publicapi/src/model/settingValueModelHaljsonEmbeddedSettingTagsInner.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface SettingValueModelHaljsonEmbeddedSettingTagsInner { - settingTagId?: number; - tagId?: number; - name?: string | null; - color?: string | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaDto.ts b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaDto.ts deleted file mode 100644 index 00c15a8..0000000 --- a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaDto.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { ValueModel } from './valueModel'; -import { TargetingRuleModel } from './targetingRuleModel'; - - -export interface UpdateEvaluationFormulaDto { - defaultValue: ValueModel; - /** - * The targeting rules of the Feature Flag or Setting. - */ - targetingRules?: Array | null; - /** - * The user attribute used for percentage evaluation. If not set, it defaults to the `Identifier` user object attribute. - */ - percentageEvaluationAttribute?: string | null; -} - diff --git a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdDto.ts b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdDto.ts deleted file mode 100644 index f8dcc92..0000000 --- a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulaWithIdDto.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { ValueModel } from './valueModel'; -import { TargetingRuleModel } from './targetingRuleModel'; - - -export interface UpdateEvaluationFormulaWithIdDto { - defaultValue: ValueModel; - /** - * The targeting rules of the Feature Flag or Setting. - */ - targetingRules?: Array | null; - /** - * The user attribute used for percentage evaluation. If not set, it defaults to the `Identifier` user object attribute. - */ - percentageEvaluationAttribute?: string | null; - /** - * The identifier of the feature flag or setting. - */ - settingId?: number; -} - diff --git a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasDto.ts b/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasDto.ts deleted file mode 100644 index c51a88e..0000000 --- a/projects/ng-configcat-publicapi/src/model/updateEvaluationFormulasDto.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * ConfigCat Public Management API - * **Base API URL**: https://test-api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://test-api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available in the following formats: - [OpenAPI v3](https://test-api.configcat.com/docs/v1/swagger.json) - [Swagger v2](https://test-api.configcat.com/docs/v1/swagger.v2.json) You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. - * - * The version of the OpenAPI document: v1 - * Contact: support@configcat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { UpdateEvaluationFormulaWithIdDto } from './updateEvaluationFormulaWithIdDto'; - - -export interface UpdateEvaluationFormulasDto { - /** - * Evaluation descriptors of each updated Feature Flag and Setting. - */ - updateFormulas?: Array | null; -} -