@flowio/api-types 0.0.236 → 0.0.238
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/io.flow.ben.test.internal.v0.ben-test-internal.d.ts +0 -4
- package/generated/io.flow.channel.currency.v0.channel-currency.d.ts +17 -0
- package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +6 -1
- package/generated/io.flow.experience.v0.experience.d.ts +13 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +160 -649
- package/generated/io.flow.label.v0.label.d.ts +6 -0
- package/generated/io.flow.session.v0.session.d.ts +0 -22
- package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +44 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +4 -0
- package/generated/io.flow.stripe.v0.stripe.d.ts +13 -0
- package/generated/io.flow.tracking.v0.tracking.d.ts +1 -0
- package/generated/io.flow.v0.api.d.ts +22 -80
- package/index.d.ts +1 -3
- package/package.json +2 -2
- package/generated/io.flow.experiment.internal.v0.experiment-internal.d.ts +0 -191
- package/generated/io.flow.pricing.indicator.internal.event.v0.pricing-indicator-internal-event.d.ts +0 -28
- package/generated/io.flow.session.context.v0.session-context.d.ts +0 -23
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.experiment.internal.v0.enums {
|
|
2
|
-
type ExperimentDiscriminatorKey = 'experience' | 'feature';
|
|
3
|
-
type Scope = 'organization' | 'global';
|
|
4
|
-
type SignificanceAction = 'end_and_implement_winner' | 'end_and_revert' | 'do_nothing';
|
|
5
|
-
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
6
|
-
type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare namespace io.flow.experiment.internal.v0.models {
|
|
10
|
-
interface DailyExperimentResults {
|
|
11
|
-
readonly 'id': string;
|
|
12
|
-
readonly 'day': string;
|
|
13
|
-
readonly 'experiment_key': string;
|
|
14
|
-
readonly 'experiment_variant_key': string;
|
|
15
|
-
readonly 'visitor_count': number;
|
|
16
|
-
readonly 'visitors_with_transactions_count': number;
|
|
17
|
-
readonly 'conversion_rate': number;
|
|
18
|
-
readonly 'lower_bound': number;
|
|
19
|
-
readonly 'upper_bound': number;
|
|
20
|
-
readonly 'probability_of_being_best'?: number;
|
|
21
|
-
readonly 'currency'?: string;
|
|
22
|
-
readonly 'average_order_value'?: number;
|
|
23
|
-
readonly 'revenue_generated'?: number;
|
|
24
|
-
readonly 'total_order_count'?: number;
|
|
25
|
-
readonly 'conversion_rate_uplift'?: number;
|
|
26
|
-
readonly 'average_order_value_uplift'?: number;
|
|
27
|
-
readonly 'revenue_generated_uplift'?: number;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface ExperienceExperiment {
|
|
31
|
-
readonly 'discriminator': 'experience';
|
|
32
|
-
readonly 'id': string;
|
|
33
|
-
readonly 'key': string;
|
|
34
|
-
readonly 'name': string;
|
|
35
|
-
readonly 'description'?: string;
|
|
36
|
-
readonly 'status': io.flow.experiment.internal.v0.enums.Status;
|
|
37
|
-
readonly 'emails': string[];
|
|
38
|
-
readonly 'started_at'?: string;
|
|
39
|
-
readonly 'ended_at'?: string;
|
|
40
|
-
readonly 'variants': io.flow.experiment.internal.v0.models.ExperienceVariant[];
|
|
41
|
-
readonly 'transitions'?: io.flow.experiment.internal.v0.enums.Status[];
|
|
42
|
-
readonly 'significance_action'?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
interface ExperienceVariant {
|
|
46
|
-
readonly 'discriminator': 'experience_variant';
|
|
47
|
-
readonly 'experience': io.flow.experiment.internal.v0.models.ExperienceVariantSummary;
|
|
48
|
-
readonly 'traffic_percentage': number;
|
|
49
|
-
readonly 'experiment_results'?: io.flow.experiment.internal.v0.models.ExperimentResults;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
interface ExperienceVariantForm {
|
|
53
|
-
readonly 'discriminator': 'experience';
|
|
54
|
-
readonly 'key': string;
|
|
55
|
-
readonly 'traffic_percentage': number;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
interface ExperienceVariantSummary {
|
|
59
|
-
readonly 'key': string;
|
|
60
|
-
readonly 'name'?: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
interface ExperimentForm {
|
|
64
|
-
readonly 'name': string;
|
|
65
|
-
readonly 'description'?: string;
|
|
66
|
-
readonly 'emails': string[];
|
|
67
|
-
readonly 'variants': io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
68
|
-
readonly 'significance_action'?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
69
|
-
readonly 'session_query'?: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
interface ExperimentFormDefault {
|
|
73
|
-
readonly 'discriminator': io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminator;
|
|
74
|
-
readonly 'variants'?: io.flow.experiment.internal.v0.models.ExperimentFormDefaultVariant[];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
interface ExperimentFormDefaultDiscriminator {
|
|
78
|
-
readonly 'key': io.flow.experiment.internal.v0.enums.ExperimentDiscriminatorKey;
|
|
79
|
-
readonly 'values': io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
interface ExperimentFormDefaultDiscriminatorValue {
|
|
83
|
-
readonly 'key': string;
|
|
84
|
-
readonly 'name': string;
|
|
85
|
-
readonly 'scope': io.flow.experiment.internal.v0.enums.Scope;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
interface ExperimentFormDefaultVariant {
|
|
89
|
-
readonly 'key': string;
|
|
90
|
-
readonly 'name': string;
|
|
91
|
-
readonly 'traffic_percentage'?: number;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface ExperimentMilestone {
|
|
95
|
-
readonly 'id': string;
|
|
96
|
-
readonly 'experiment': io.flow.experiment.internal.v0.models.ExperimentReference;
|
|
97
|
-
readonly 'timestamp': string;
|
|
98
|
-
readonly 'description': string;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
interface ExperimentMilestoneForm {
|
|
102
|
-
readonly 'timestamp'?: string;
|
|
103
|
-
readonly 'description': string;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface ExperimentReference {
|
|
107
|
-
readonly 'key': string;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
interface ExperimentResults {
|
|
111
|
-
readonly 'id': string;
|
|
112
|
-
readonly 'experiment_key': string;
|
|
113
|
-
readonly 'experiment_variant_key': string;
|
|
114
|
-
readonly 'visitor_count': number;
|
|
115
|
-
readonly 'visitors_with_transactions_count': number;
|
|
116
|
-
readonly 'conversion_rate': number;
|
|
117
|
-
readonly 'lower_bound': number;
|
|
118
|
-
readonly 'upper_bound': number;
|
|
119
|
-
readonly 'probability_of_being_best'?: number;
|
|
120
|
-
readonly 'currency'?: string;
|
|
121
|
-
readonly 'average_order_value'?: number;
|
|
122
|
-
readonly 'revenue_generated'?: number;
|
|
123
|
-
readonly 'total_order_count'?: number;
|
|
124
|
-
readonly 'conversion_rate_uplift'?: number;
|
|
125
|
-
readonly 'average_order_value_uplift'?: number;
|
|
126
|
-
readonly 'revenue_generated_uplift'?: number;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
interface ExperimentResultsWithTimestamp {
|
|
130
|
-
readonly 'timestamp': string;
|
|
131
|
-
readonly 'results': io.flow.experiment.internal.v0.models.ExperimentResults[];
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
interface ExperimentSessionQueryForm {
|
|
135
|
-
readonly 'session_query'?: string;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
interface ExperimentVersion {
|
|
139
|
-
readonly 'id': string;
|
|
140
|
-
readonly 'timestamp': string;
|
|
141
|
-
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
142
|
-
readonly 'experiment': io.flow.experiment.internal.v0.unions.Experiment;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
interface FeatureExperiment {
|
|
146
|
-
readonly 'discriminator': 'feature';
|
|
147
|
-
readonly 'id': string;
|
|
148
|
-
readonly 'key': string;
|
|
149
|
-
readonly 'name': string;
|
|
150
|
-
readonly 'description'?: string;
|
|
151
|
-
readonly 'status': io.flow.experiment.internal.v0.enums.Status;
|
|
152
|
-
readonly 'emails': string[];
|
|
153
|
-
readonly 'scope': io.flow.experiment.internal.v0.enums.Scope;
|
|
154
|
-
readonly 'started_at'?: string;
|
|
155
|
-
readonly 'ended_at'?: string;
|
|
156
|
-
readonly 'variants': io.flow.experiment.internal.v0.models.FeatureVariant[];
|
|
157
|
-
readonly 'transitions'?: io.flow.experiment.internal.v0.enums.Status[];
|
|
158
|
-
readonly 'significance_action'?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
159
|
-
readonly 'session_query'?: string;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
interface FeatureValueReference {
|
|
163
|
-
readonly 'feature_key': string;
|
|
164
|
-
readonly 'value': string;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
interface FeatureVariant {
|
|
168
|
-
readonly 'discriminator': 'feature_variant';
|
|
169
|
-
readonly 'value': io.flow.experiment.internal.v0.models.FeatureVariantSummary;
|
|
170
|
-
readonly 'traffic_percentage': number;
|
|
171
|
-
readonly 'experiment_results'?: io.flow.experiment.internal.v0.models.ExperimentResults;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
interface FeatureVariantForm {
|
|
175
|
-
readonly 'discriminator': 'feature';
|
|
176
|
-
readonly 'key': string;
|
|
177
|
-
readonly 'traffic_percentage': number;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
interface FeatureVariantSummary {
|
|
181
|
-
readonly 'key': string;
|
|
182
|
-
readonly 'feature_value': io.flow.experiment.internal.v0.models.FeatureValueReference;
|
|
183
|
-
readonly 'name'?: string;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
declare namespace io.flow.experiment.internal.v0.unions {
|
|
188
|
-
type Experiment = (io.flow.experiment.internal.v0.models.ExperienceExperiment | io.flow.experiment.internal.v0.models.FeatureExperiment);
|
|
189
|
-
type Variant = (io.flow.experiment.internal.v0.models.ExperienceVariant | io.flow.experiment.internal.v0.models.FeatureVariant);
|
|
190
|
-
type VariantForm = (io.flow.experiment.internal.v0.models.ExperienceVariantForm | io.flow.experiment.internal.v0.models.FeatureVariantForm);
|
|
191
|
-
}
|
package/generated/io.flow.pricing.indicator.internal.event.v0.pricing-indicator-internal-event.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.pricing.indicator.internal.event.v0.enums {
|
|
2
|
-
type PricingIndicatorStatus = 'complete' | 'in_progress';
|
|
3
|
-
type ServiceName = 'catalog' | 'demandware' | 'metric';
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
declare namespace io.flow.pricing.indicator.internal.event.v0.models {
|
|
7
|
-
interface Details {
|
|
8
|
-
readonly 'catalog_item': io.flow.common.v0.models.CatalogItemSummary;
|
|
9
|
-
readonly 'experience'?: io.flow.common.v0.models.ExperienceSummary;
|
|
10
|
-
readonly 'upserted_at': string;
|
|
11
|
-
readonly 'time_elapsed_since_upserted': number;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface PricingIndicator {
|
|
15
|
-
readonly 'discriminator': 'pricing_indicator';
|
|
16
|
-
readonly 'event_id': string;
|
|
17
|
-
readonly 'timestamp': string;
|
|
18
|
-
readonly 'organization': string;
|
|
19
|
-
readonly 'published_from': io.flow.pricing.indicator.internal.event.v0.enums.ServiceName;
|
|
20
|
-
readonly 'status': io.flow.pricing.indicator.internal.event.v0.enums.PricingIndicatorStatus;
|
|
21
|
-
readonly 'event_identifier': string;
|
|
22
|
-
readonly 'details': io.flow.pricing.indicator.internal.event.v0.models.Details;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
declare namespace io.flow.pricing.indicator.internal.event.v0.unions {
|
|
27
|
-
type PricingIndicatorEvent = (io.flow.pricing.indicator.internal.event.v0.models.PricingIndicator);
|
|
28
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.session.context.v0.models {
|
|
2
|
-
interface Context {
|
|
3
|
-
readonly 'id': string;
|
|
4
|
-
readonly 'experiments': io.flow.session.context.v0.models.SessionContextExperiment[];
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
interface ContextForm {
|
|
8
|
-
readonly 'experiments': io.flow.session.context.v0.models.SessionContextExperiment[];
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
interface ContextReference {
|
|
12
|
-
readonly 'id': string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface ExperimentVariant {
|
|
16
|
-
readonly 'key': string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface SessionContextExperiment {
|
|
20
|
-
readonly 'key': string;
|
|
21
|
-
readonly 'variant'?: io.flow.session.context.v0.models.ExperimentVariant;
|
|
22
|
-
}
|
|
23
|
-
}
|