Skip to content

Commit

Permalink
feat: automated TS Serving API update
Browse files Browse the repository at this point in the history
  • Loading branch information
abbaseya authored and Convert Bot committed Mar 20, 2024
1 parent 690c245 commit 1b9c197
Show file tree
Hide file tree
Showing 185 changed files with 3,161 additions and 0 deletions.
189 changes: 189 additions & 0 deletions packages/types/src/config/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type { Base64Image } from './models/Base64Image';
export type { BaseMatch } from './models/BaseMatch';
export type { BaseRule } from './models/BaseRule';
export type { BaseRuleWithBooleanValue } from './models/BaseRuleWithBooleanValue';
export { BaseRuleWithBrowserNameValue } from './models/BaseRuleWithBrowserNameValue';
export type { BaseRuleWithCountryCodeValue } from './models/BaseRuleWithCountryCodeValue';
export type { BaseRuleWithDayOfWeekValue } from './models/BaseRuleWithDayOfWeekValue';
export type { BaseRuleWithExperienceBucketedValue } from './models/BaseRuleWithExperienceBucketedValue';
export type { BaseRuleWithGoalTriggeredValue } from './models/BaseRuleWithGoalTriggeredValue';
export type { BaseRuleWithHourOfDayValue } from './models/BaseRuleWithHourOfDayValue';
export type { BaseRuleWithJsCodeValue } from './models/BaseRuleWithJsCodeValue';
export type { BaseRuleWithLanguageCodeValue } from './models/BaseRuleWithLanguageCodeValue';
export type { BaseRuleWithMinuteOfHourValue } from './models/BaseRuleWithMinuteOfHourValue';
export type { BaseRuleWithNumericValue } from './models/BaseRuleWithNumericValue';
export { BaseRuleWithOsValue } from './models/BaseRuleWithOsValue';
export type { BaseRuleWithSegmentBucketedValue } from './models/BaseRuleWithSegmentBucketedValue';
export type { BaseRuleWithStringValue } from './models/BaseRuleWithStringValue';
export { BaseRuleWithVisitorTypeValue } from './models/BaseRuleWithVisitorTypeValue';
export type { BaseRuleWithWeatherConditionValue } from './models/BaseRuleWithWeatherConditionValue';
export { BoolMatchRulesTypes } from './models/BoolMatchRulesTypes';
export type { BrowserNameMatchRule } from './models/BrowserNameMatchRule';
export { BrowserNameMatchRulesTypes } from './models/BrowserNameMatchRulesTypes';
export type { BucketingEvent } from './models/BucketingEvent';
export { ChoiceContainsOptions } from './models/ChoiceContainsOptions';
export { ChoiceMatchingOptions } from './models/ChoiceMatchingOptions';
export { ClicksElementGoal } from './models/ClicksElementGoal';
export type { ClicksElementGoalSettings } from './models/ClicksElementGoalSettings';
export { ClicksLinkGoal } from './models/ClicksLinkGoal';
export type { ClicksLinkGoalSettings } from './models/ClicksLinkGoalSettings';
export type { ConfigAudience } from './models/ConfigAudience';
export type { ConfigExperience } from './models/ConfigExperience';
export type { ConfigFeature } from './models/ConfigFeature';
export type { ConfigGoal } from './models/ConfigGoal';
export type { ConfigGoalBase } from './models/ConfigGoalBase';
export type { ConfigLocation } from './models/ConfigLocation';
export { ConfigProject } from './models/ConfigProject';
export type { ConfigResponseData } from './models/ConfigResponseData';
export type { ConfigSegment } from './models/ConfigSegment';
export type { ConversionEvent } from './models/ConversionEvent';
export type { CookieMatchRule } from './models/CookieMatchRule';
export { CookieMatchRulesTypes } from './models/CookieMatchRulesTypes';
export type { CountryMatchRule } from './models/CountryMatchRule';
export { CountryMatchRulesTypes } from './models/CountryMatchRulesTypes';
export type { DayOfWeekMatchRule } from './models/DayOfWeekMatchRule';
export { DayOfWeekMatchRulesTypes } from './models/DayOfWeekMatchRulesTypes';
export { DomInteractionGoal } from './models/DomInteractionGoal';
export type { DomInteractionGoalSettings } from './models/DomInteractionGoalSettings';
export type { ErrorData } from './models/ErrorData';
export type { ExperienceBucketedMatchRule } from './models/ExperienceBucketedMatchRule';
export type { ExperienceChange } from './models/ExperienceChange';
export type { ExperienceChangeAdd } from './models/ExperienceChangeAdd';
export { ExperienceChangeBase } from './models/ExperienceChangeBase';
export type { ExperienceChangeCustomCodeData } from './models/ExperienceChangeCustomCodeData';
export type { ExperienceChangeCustomCodeDataAdd } from './models/ExperienceChangeCustomCodeDataAdd';
export { ExperienceChangeCustomCodeDataBase } from './models/ExperienceChangeCustomCodeDataBase';
export type { ExperienceChangeCustomCodeDataUpdate } from './models/ExperienceChangeCustomCodeDataUpdate';
export type { ExperienceChangeCustomCodeDataUpdateNoId } from './models/ExperienceChangeCustomCodeDataUpdateNoId';
export type { ExperienceChangeDefaultCodeData } from './models/ExperienceChangeDefaultCodeData';
export type { ExperienceChangeDefaultCodeDataAdd } from './models/ExperienceChangeDefaultCodeDataAdd';
export { ExperienceChangeDefaultCodeDataBase } from './models/ExperienceChangeDefaultCodeDataBase';
export type { ExperienceChangeDefaultCodeDataUpdate } from './models/ExperienceChangeDefaultCodeDataUpdate';
export type { ExperienceChangeDefaultCodeDataUpdateNoId } from './models/ExperienceChangeDefaultCodeDataUpdateNoId';
export type { ExperienceChangeDefaultCodeMultipageData } from './models/ExperienceChangeDefaultCodeMultipageData';
export type { ExperienceChangeDefaultCodeMultipageDataAdd } from './models/ExperienceChangeDefaultCodeMultipageDataAdd';
export { ExperienceChangeDefaultCodeMultipageDataBase } from './models/ExperienceChangeDefaultCodeMultipageDataBase';
export type { ExperienceChangeDefaultCodeMultipageDataUpdate } from './models/ExperienceChangeDefaultCodeMultipageDataUpdate';
export type { ExperienceChangeDefaultCodeMultipageDataUpdateNoId } from './models/ExperienceChangeDefaultCodeMultipageDataUpdateNoId';
export type { ExperienceChangeDefaultRedirectData } from './models/ExperienceChangeDefaultRedirectData';
export type { ExperienceChangeDefaultRedirectDataAdd } from './models/ExperienceChangeDefaultRedirectDataAdd';
export { ExperienceChangeDefaultRedirectDataBase } from './models/ExperienceChangeDefaultRedirectDataBase';
export type { ExperienceChangeDefaultRedirectDataUpdate } from './models/ExperienceChangeDefaultRedirectDataUpdate';
export type { ExperienceChangeDefaultRedirectDataUpdateNoId } from './models/ExperienceChangeDefaultRedirectDataUpdateNoId';
export type { ExperienceChangeFullStackFeature } from './models/ExperienceChangeFullStackFeature';
export type { ExperienceChangeFullStackFeatureAdd } from './models/ExperienceChangeFullStackFeatureAdd';
export { ExperienceChangeFullStackFeatureBase } from './models/ExperienceChangeFullStackFeatureBase';
export type { ExperienceChangeFullStackFeatureUpdate } from './models/ExperienceChangeFullStackFeatureUpdate';
export type { ExperienceChangeFullStackFeatureUpdateNoId } from './models/ExperienceChangeFullStackFeatureUpdateNoId';
export type { ExperienceChangeId } from './models/ExperienceChangeId';
export type { ExperienceChangeIdReadOnly } from './models/ExperienceChangeIdReadOnly';
export type { ExperienceChangeRichStructureData } from './models/ExperienceChangeRichStructureData';
export type { ExperienceChangeRichStructureDataAdd } from './models/ExperienceChangeRichStructureDataAdd';
export { ExperienceChangeRichStructureDataBase } from './models/ExperienceChangeRichStructureDataBase';
export type { ExperienceChangeRichStructureDataUpdate } from './models/ExperienceChangeRichStructureDataUpdate';
export type { ExperienceChangeRichStructureDataUpdateNoId } from './models/ExperienceChangeRichStructureDataUpdateNoId';
export type { ExperienceChangeUpdate } from './models/ExperienceChangeUpdate';
export type { ExperienceChangeUpdateNoId } from './models/ExperienceChangeUpdateNoId';
export type { ExperienceIntegrationBaidu } from './models/ExperienceIntegrationBaidu';
export type { ExperienceIntegrationBase } from './models/ExperienceIntegrationBase';
export type { ExperienceIntegrationClicktale } from './models/ExperienceIntegrationClicktale';
export type { ExperienceIntegrationClicky } from './models/ExperienceIntegrationClicky';
export type { ExperienceIntegrationCnzz } from './models/ExperienceIntegrationCnzz';
export type { ExperienceIntegrationCrazyegg } from './models/ExperienceIntegrationCrazyegg';
export type { ExperienceIntegrationEconda } from './models/ExperienceIntegrationEconda';
export type { ExperienceIntegrationEulerian } from './models/ExperienceIntegrationEulerian';
export type { ExperienceIntegrationGA3 } from './models/ExperienceIntegrationGA3';
export type { ExperienceIntegrationGA4 } from './models/ExperienceIntegrationGA4';
export type { ExperienceIntegrationGA4Base } from './models/ExperienceIntegrationGA4Base';
export type { ExperienceIntegrationGAServing } from './models/ExperienceIntegrationGAServing';
export type { ExperienceIntegrationGoogleAnalytics } from './models/ExperienceIntegrationGoogleAnalytics';
export type { ExperienceIntegrationGosquared } from './models/ExperienceIntegrationGosquared';
export type { ExperienceIntegrationHeapanalytics } from './models/ExperienceIntegrationHeapanalytics';
export type { ExperienceIntegrationHotjar } from './models/ExperienceIntegrationHotjar';
export type { ExperienceIntegrationMixpanel } from './models/ExperienceIntegrationMixpanel';
export type { ExperienceIntegrationMouseflow } from './models/ExperienceIntegrationMouseflow';
export type { ExperienceIntegrationPiwik } from './models/ExperienceIntegrationPiwik';
export type { ExperienceIntegrationSegmentio } from './models/ExperienceIntegrationSegmentio';
export type { ExperienceIntegrationSitecatalyst } from './models/ExperienceIntegrationSitecatalyst';
export type { ExperienceIntegrationWoopra } from './models/ExperienceIntegrationWoopra';
export type { ExperienceIntegrationYsance } from './models/ExperienceIntegrationYsance';
export { ExperienceTypes } from './models/ExperienceTypes';
export type { ExperienceVariationConfig } from './models/ExperienceVariationConfig';
export type { Extra } from './models/Extra';
export { FeatureVariableItemData } from './models/FeatureVariableItemData';
export type { GA_Settings } from './models/GA_Settings';
export type { GA_SettingsBase } from './models/GA_SettingsBase';
export { GaGoal } from './models/GaGoal';
export type { GaGoalSettings } from './models/GaGoalSettings';
export type { GenericBoolKeyValueMatchRule } from './models/GenericBoolKeyValueMatchRule';
export { GenericBoolKeyValueMatchRulesTypes } from './models/GenericBoolKeyValueMatchRulesTypes';
export type { GenericBoolMatchRule } from './models/GenericBoolMatchRule';
export type { GenericKey } from './models/GenericKey';
export type { GenericNumericKeyValueMatchRule } from './models/GenericNumericKeyValueMatchRule';
export { GenericNumericKeyValueMatchRulesTypes } from './models/GenericNumericKeyValueMatchRulesTypes';
export type { GenericNumericMatchRule } from './models/GenericNumericMatchRule';
export type { GenericSetMatchRule } from './models/GenericSetMatchRule';
export type { GenericTextKeyValueMatchRule } from './models/GenericTextKeyValueMatchRule';
export { GenericTextKeyValueMatchRulesTypes } from './models/GenericTextKeyValueMatchRulesTypes';
export type { GenericTextMatchRule } from './models/GenericTextMatchRule';
export type { GoalTriggeredMatchRule } from './models/GoalTriggeredMatchRule';
export { GoalTriggeredMatchRulesTypes } from './models/GoalTriggeredMatchRulesTypes';
export { GoalTypes } from './models/GoalTypes';
export type { HourOfDayMatchRule } from './models/HourOfDayMatchRule';
export { HourOfDayMatchRulesTypes } from './models/HourOfDayMatchRulesTypes';
export { IntegrationGA3 } from './models/IntegrationGA3';
export type { IntegrationGA4 } from './models/IntegrationGA4';
export { IntegrationGA4Base } from './models/IntegrationGA4Base';
export { IntegrationProvider } from './models/IntegrationProvider';
export type { JsConditionMatchRule } from './models/JsConditionMatchRule';
export { JsConditionMatchRulesTypes } from './models/JsConditionMatchRulesTypes';
export type { KeyValueMatchRulesTypes } from './models/KeyValueMatchRulesTypes';
export type { LanguageMatchRule } from './models/LanguageMatchRule';
export { LanguageMatchRulesTypes } from './models/LanguageMatchRulesTypes';
export type { MinuteOfHourMatchRule } from './models/MinuteOfHourMatchRule';
export { MinuteOfHourMatchRulesTypes } from './models/MinuteOfHourMatchRulesTypes';
export { NoSettingsGoal } from './models/NoSettingsGoal';
export { NumericMatchingOptions } from './models/NumericMatchingOptions';
export { NumericMatchRulesTypes } from './models/NumericMatchRulesTypes';
export type { OnlyCount } from './models/OnlyCount';
export type { OsMatchRule } from './models/OsMatchRule';
export { OsMatchRulesTypes } from './models/OsMatchRulesTypes';
export type { PageNumber } from './models/PageNumber';
export type { Pagination } from './models/Pagination';
export type { ProjectGASettingsBase } from './models/ProjectGASettingsBase';
export type { ProjectIntegrationGA3 } from './models/ProjectIntegrationGA3';
export type { ProjectIntegrationGA4 } from './models/ProjectIntegrationGA4';
export type { ResultsPerPage } from './models/ResultsPerPage';
export { RevenueGoal } from './models/RevenueGoal';
export { RevenueGoalSettings } from './models/RevenueGoalSettings';
export type { RuleElement } from './models/RuleElement';
export type { RuleElementNoUrl } from './models/RuleElementNoUrl';
export type { RuleObject } from './models/RuleObject';
export type { RuleObjectNoUrl } from './models/RuleObjectNoUrl';
export type { RulesTypes } from './models/RulesTypes';
export { ScrollPercentageGoal } from './models/ScrollPercentageGoal';
export type { ScrollPercentageGoalSettings } from './models/ScrollPercentageGoalSettings';
export type { SegmentBucketedMatchRule } from './models/SegmentBucketedMatchRule';
export { SegmentBucketedMatchRulesTypes } from './models/SegmentBucketedMatchRulesTypes';
export type { SendTrackingEventsRequestData } from './models/SendTrackingEventsRequestData';
export { SetMatchingOptions } from './models/SetMatchingOptions';
export { SortDirection } from './models/SortDirection';
export { SubmitsFormGoal } from './models/SubmitsFormGoal';
export type { SubmitsFormGoalSettings } from './models/SubmitsFormGoalSettings';
export type { SuccessData } from './models/SuccessData';
export { TextMatchingOptions } from './models/TextMatchingOptions';
export { TextMatchRulesTypes } from './models/TextMatchRulesTypes';
export type { UpdateExperienceChangeRequestData } from './models/UpdateExperienceChangeRequestData';
export type { UTC_Offset } from './models/UTC_Offset';
export { VisitorSegments } from './models/VisitorSegments';
export { VisitorTrackingEvents } from './models/VisitorTrackingEvents';
export type { VisitorTypeMatchRule } from './models/VisitorTypeMatchRule';
export { VisitorTypeMatchRulesTypes } from './models/VisitorTypeMatchRulesTypes';
export type { WeatherConditionMatchRule } from './models/WeatherConditionMatchRule';
export { WeatherConditionMatchRulesTypes } from './models/WeatherConditionMatchRulesTypes';
export { WeatherConditions } from './models/WeatherConditions';
11 changes: 11 additions & 0 deletions packages/types/src/config/models/Base64Image.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type Base64Image = {
/**
* Image's content, base64 encoded
*/
data?: string;
};

13 changes: 13 additions & 0 deletions packages/types/src/config/models/BaseMatch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type BaseMatch = {
/**
* When true, the rule result is gonna be negated.
* example: `url contains "test"` with *negated* = true becomes `url does not contain "test"`
*
*/
negated?: boolean;
};

11 changes: 11 additions & 0 deletions packages/types/src/config/models/BaseRule.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type BaseRule = {
/**
* It defines the type of the rule
*/
rule_type: string;
};

12 changes: 12 additions & 0 deletions packages/types/src/config/models/BaseRuleWithBooleanValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithBooleanValue = (BaseRule & {
/**
* The value used to match against 'rule_type' using 'matching'
*/
value?: boolean;
});

26 changes: 26 additions & 0 deletions packages/types/src/config/models/BaseRuleWithBrowserNameValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithBrowserNameValue = (BaseRule & {
/**
* Browser name used for matching
*/
value?: BaseRuleWithBrowserNameValue.value;
});
export namespace BaseRuleWithBrowserNameValue {
/**
* Browser name used for matching
*/
export enum value {
CHROME = 'chrome',
MICROSOFT_IE = 'microsoft_ie',
FIREFOX = 'firefox',
MICROSOFT_EDGE = 'microsoft_edge',
MOZILLA = 'mozilla',
OPERA = 'opera',
SAFARI = 'safari',
}
}

12 changes: 12 additions & 0 deletions packages/types/src/config/models/BaseRuleWithCountryCodeValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithCountryCodeValue = (BaseRule & {
/**
* The 2 letter ISO country code used for matching
*/
value?: string;
});

12 changes: 12 additions & 0 deletions packages/types/src/config/models/BaseRuleWithDayOfWeekValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithDayOfWeekValue = (BaseRule & {
/**
* Day of week used for matching
*/
value?: number;
});

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithExperienceBucketedValue = (BaseRule & {
/**
* ID of the experience used for matching
*/
value?: number;
});

12 changes: 12 additions & 0 deletions packages/types/src/config/models/BaseRuleWithGoalTriggeredValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithGoalTriggeredValue = (BaseRule & {
/**
* ID of the goal used for matching
*/
value?: number;
});

12 changes: 12 additions & 0 deletions packages/types/src/config/models/BaseRuleWithHourOfDayValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithHourOfDayValue = (BaseRule & {
/**
* Hour of day used for matching
*/
value?: number;
});

14 changes: 14 additions & 0 deletions packages/types/src/config/models/BaseRuleWithJsCodeValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithJsCodeValue = (BaseRule & {
/**
* The JS code that would be executed when rule is checked. The return value of this JS code is what is gonna be matched
* against **true**(or **false** if **matching.negated = true** is provided)
*
*/
value?: string;
});

12 changes: 12 additions & 0 deletions packages/types/src/config/models/BaseRuleWithLanguageCodeValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithLanguageCodeValue = (BaseRule & {
/**
* The 2 letter ISO language code used for matching
*/
value?: string;
});

12 changes: 12 additions & 0 deletions packages/types/src/config/models/BaseRuleWithMinuteOfHourValue.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseRule } from './BaseRule';
export type BaseRuleWithMinuteOfHourValue = (BaseRule & {
/**
* Minute of hour used for matching
*/
value?: number;
});

Loading

0 comments on commit 1b9c197

Please sign in to comment.