superposition-provider 0.90.0 → 0.91.0
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/dist/index.esm.js +28 -11
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +28 -11
- package/dist/index.js.map +1 -1
- package/dist/native-lib/libsuperposition_core-aarch64-apple-darwin.dylib +0 -0
- package/dist/native-lib/libsuperposition_core-x86_64-apple-darwin.dylib +0 -0
- package/dist/native-lib/libsuperposition_core-x86_64-pc-windows-msvc.dll +0 -0
- package/dist/native-lib/libsuperposition_core-x86_64-unknown-linux-gnu.so +0 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9103,7 +9103,7 @@ function requireModels_0 () {
|
|
|
9103
9103
|
if (hasRequiredModels_0) return models_0;
|
|
9104
9104
|
hasRequiredModels_0 = 1;
|
|
9105
9105
|
Object.defineProperty(models_0, "__esModule", { value: true });
|
|
9106
|
-
models_0.WorkspaceNotFound = models_0.WebhookNotFound = models_0.OrganisationNotFound = models_0.Stage = models_0.FunctionExecutionRequest = models_0.ExperimentSortOn = models_0.ExperimentGroupSortOn = models_0.TypeTemplatesNotFound = models_0.FunctionNotFound = models_0.WorkspaceStatus = models_0.Version = models_0.HttpMethod = models_0.OrgStatus = models_0.FunctionTypes = models_0.ContextFilterSortOn = models_0.SortBy = models_0.DimensionMatchStrategy = models_0.MergeStrategy = models_0.ExperimentStatusType = models_0.ExperimentType = models_0.ContextActionOut = models_0.ContextAction = models_0.ContextIdentifier = models_0.VariantType = models_0.ResourceNotFound = models_0.InternalServerError = models_0.GroupType = void 0;
|
|
9106
|
+
models_0.WorkspaceNotFound = models_0.WebhookNotFound = models_0.OrganisationNotFound = models_0.Stage = models_0.FunctionExecutionRequest = models_0.ExperimentSortOn = models_0.ExperimentGroupSortOn = models_0.TypeTemplatesNotFound = models_0.FunctionNotFound = models_0.WorkspaceStatus = models_0.Version = models_0.HttpMethod = models_0.OrgStatus = models_0.FunctionTypes = models_0.DimensionType = models_0.ContextFilterSortOn = models_0.SortBy = models_0.DimensionMatchStrategy = models_0.MergeStrategy = models_0.ExperimentStatusType = models_0.ExperimentType = models_0.ContextActionOut = models_0.ContextAction = models_0.ContextIdentifier = models_0.VariantType = models_0.ResourceNotFound = models_0.InternalServerError = models_0.GroupType = void 0;
|
|
9107
9107
|
const SuperpositionServiceException_1 = requireSuperpositionServiceException();
|
|
9108
9108
|
models_0.GroupType = {
|
|
9109
9109
|
SYSTEM_GENERATED: "SYSTEM_GENERATED",
|
|
@@ -9205,6 +9205,18 @@ function requireModels_0 () {
|
|
|
9205
9205
|
LastModifiedAt: "last_modified_at",
|
|
9206
9206
|
Weight: "weight",
|
|
9207
9207
|
};
|
|
9208
|
+
var DimensionType;
|
|
9209
|
+
(function (DimensionType) {
|
|
9210
|
+
DimensionType.visit = (value, visitor) => {
|
|
9211
|
+
if (value.REGULAR !== undefined)
|
|
9212
|
+
return visitor.REGULAR(value.REGULAR);
|
|
9213
|
+
if (value.LOCAL_COHORT !== undefined)
|
|
9214
|
+
return visitor.LOCAL_COHORT(value.LOCAL_COHORT);
|
|
9215
|
+
if (value.REMOTE_COHORT !== undefined)
|
|
9216
|
+
return visitor.REMOTE_COHORT(value.REMOTE_COHORT);
|
|
9217
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
9218
|
+
};
|
|
9219
|
+
})(DimensionType || (models_0.DimensionType = DimensionType = {}));
|
|
9208
9220
|
models_0.FunctionTypes = {
|
|
9209
9221
|
Autocomplete: "AUTOCOMPLETE",
|
|
9210
9222
|
Validation: "VALIDATION",
|
|
@@ -9477,9 +9489,9 @@ function requireAws_restJson1 () {
|
|
|
9477
9489
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
9478
9490
|
'autocomplete_function_name': [],
|
|
9479
9491
|
'change_reason': [],
|
|
9480
|
-
'dependencies': _ => (0, smithy_client_1._json)(_),
|
|
9481
9492
|
'description': [],
|
|
9482
9493
|
'dimension': [],
|
|
9494
|
+
'dimension_type': _ => (0, smithy_client_1._json)(_),
|
|
9483
9495
|
'function_name': [],
|
|
9484
9496
|
'position': [],
|
|
9485
9497
|
'schema': _ => se_Document(_),
|
|
@@ -10408,7 +10420,6 @@ function requireAws_restJson1 () {
|
|
|
10408
10420
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
10409
10421
|
'autocomplete_function_name': [],
|
|
10410
10422
|
'change_reason': [],
|
|
10411
|
-
'dependencies': _ => (0, smithy_client_1._json)(_),
|
|
10412
10423
|
'description': [],
|
|
10413
10424
|
'function_name': [],
|
|
10414
10425
|
'position': [],
|
|
@@ -10769,11 +10780,10 @@ function requireAws_restJson1 () {
|
|
|
10769
10780
|
'change_reason': smithy_client_1.expectString,
|
|
10770
10781
|
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
10771
10782
|
'created_by': smithy_client_1.expectString,
|
|
10772
|
-
'dependencies': smithy_client_1._json,
|
|
10773
10783
|
'dependency_graph': _ => de_Object(_),
|
|
10774
|
-
'dependents': smithy_client_1._json,
|
|
10775
10784
|
'description': smithy_client_1.expectString,
|
|
10776
10785
|
'dimension': smithy_client_1.expectString,
|
|
10786
|
+
'dimension_type': _ => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
10777
10787
|
'function_name': smithy_client_1.expectString,
|
|
10778
10788
|
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
10779
10789
|
'last_modified_by': smithy_client_1.expectString,
|
|
@@ -11124,6 +11134,7 @@ function requireAws_restJson1 () {
|
|
|
11124
11134
|
const doc = (0, smithy_client_1.take)(data, {
|
|
11125
11135
|
'contexts': _ => de_ContextList(_),
|
|
11126
11136
|
'default_configs': _ => de_Object(_),
|
|
11137
|
+
'dimensions': _ => de_DimensionData(_),
|
|
11127
11138
|
'overrides': _ => de_OverridesMap(_),
|
|
11128
11139
|
});
|
|
11129
11140
|
Object.assign(contents, doc);
|
|
@@ -11209,11 +11220,10 @@ function requireAws_restJson1 () {
|
|
|
11209
11220
|
'change_reason': smithy_client_1.expectString,
|
|
11210
11221
|
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11211
11222
|
'created_by': smithy_client_1.expectString,
|
|
11212
|
-
'dependencies': smithy_client_1._json,
|
|
11213
11223
|
'dependency_graph': _ => de_Object(_),
|
|
11214
|
-
'dependents': smithy_client_1._json,
|
|
11215
11224
|
'description': smithy_client_1.expectString,
|
|
11216
11225
|
'dimension': smithy_client_1.expectString,
|
|
11226
|
+
'dimension_type': _ => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
11217
11227
|
'function_name': smithy_client_1.expectString,
|
|
11218
11228
|
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11219
11229
|
'last_modified_by': smithy_client_1.expectString,
|
|
@@ -11858,11 +11868,10 @@ function requireAws_restJson1 () {
|
|
|
11858
11868
|
'change_reason': smithy_client_1.expectString,
|
|
11859
11869
|
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11860
11870
|
'created_by': smithy_client_1.expectString,
|
|
11861
|
-
'dependencies': smithy_client_1._json,
|
|
11862
11871
|
'dependency_graph': _ => de_Object(_),
|
|
11863
|
-
'dependents': smithy_client_1._json,
|
|
11864
11872
|
'description': smithy_client_1.expectString,
|
|
11865
11873
|
'dimension': smithy_client_1.expectString,
|
|
11874
|
+
'dimension_type': _ => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
11866
11875
|
'function_name': smithy_client_1.expectString,
|
|
11867
11876
|
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11868
11877
|
'last_modified_by': smithy_client_1.expectString,
|
|
@@ -12474,17 +12483,25 @@ function requireAws_restJson1 () {
|
|
|
12474
12483
|
'value': (_) => de_Document(_),
|
|
12475
12484
|
});
|
|
12476
12485
|
};
|
|
12486
|
+
const de_DimensionData = (output, context) => {
|
|
12487
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
12488
|
+
if (value === null) {
|
|
12489
|
+
return acc;
|
|
12490
|
+
}
|
|
12491
|
+
acc[key] = de_Document(value);
|
|
12492
|
+
return acc;
|
|
12493
|
+
}, {});
|
|
12494
|
+
};
|
|
12477
12495
|
const de_DimensionExt = (output, context) => {
|
|
12478
12496
|
return (0, smithy_client_1.take)(output, {
|
|
12479
12497
|
'autocomplete_function_name': smithy_client_1.expectString,
|
|
12480
12498
|
'change_reason': smithy_client_1.expectString,
|
|
12481
12499
|
'created_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
12482
12500
|
'created_by': smithy_client_1.expectString,
|
|
12483
|
-
'dependencies': smithy_client_1._json,
|
|
12484
12501
|
'dependency_graph': (_) => de_Object(_),
|
|
12485
|
-
'dependents': smithy_client_1._json,
|
|
12486
12502
|
'description': smithy_client_1.expectString,
|
|
12487
12503
|
'dimension': smithy_client_1.expectString,
|
|
12504
|
+
'dimension_type': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
12488
12505
|
'function_name': smithy_client_1.expectString,
|
|
12489
12506
|
'last_modified_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
12490
12507
|
'last_modified_by': smithy_client_1.expectString,
|