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.esm.js
CHANGED
|
@@ -9100,7 +9100,7 @@ function requireModels_0 () {
|
|
|
9100
9100
|
if (hasRequiredModels_0) return models_0;
|
|
9101
9101
|
hasRequiredModels_0 = 1;
|
|
9102
9102
|
Object.defineProperty(models_0, "__esModule", { value: true });
|
|
9103
|
-
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;
|
|
9103
|
+
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;
|
|
9104
9104
|
const SuperpositionServiceException_1 = requireSuperpositionServiceException();
|
|
9105
9105
|
models_0.GroupType = {
|
|
9106
9106
|
SYSTEM_GENERATED: "SYSTEM_GENERATED",
|
|
@@ -9202,6 +9202,18 @@ function requireModels_0 () {
|
|
|
9202
9202
|
LastModifiedAt: "last_modified_at",
|
|
9203
9203
|
Weight: "weight",
|
|
9204
9204
|
};
|
|
9205
|
+
var DimensionType;
|
|
9206
|
+
(function (DimensionType) {
|
|
9207
|
+
DimensionType.visit = (value, visitor) => {
|
|
9208
|
+
if (value.REGULAR !== undefined)
|
|
9209
|
+
return visitor.REGULAR(value.REGULAR);
|
|
9210
|
+
if (value.LOCAL_COHORT !== undefined)
|
|
9211
|
+
return visitor.LOCAL_COHORT(value.LOCAL_COHORT);
|
|
9212
|
+
if (value.REMOTE_COHORT !== undefined)
|
|
9213
|
+
return visitor.REMOTE_COHORT(value.REMOTE_COHORT);
|
|
9214
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
9215
|
+
};
|
|
9216
|
+
})(DimensionType || (models_0.DimensionType = DimensionType = {}));
|
|
9205
9217
|
models_0.FunctionTypes = {
|
|
9206
9218
|
Autocomplete: "AUTOCOMPLETE",
|
|
9207
9219
|
Validation: "VALIDATION",
|
|
@@ -9474,9 +9486,9 @@ function requireAws_restJson1 () {
|
|
|
9474
9486
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
9475
9487
|
'autocomplete_function_name': [],
|
|
9476
9488
|
'change_reason': [],
|
|
9477
|
-
'dependencies': _ => (0, smithy_client_1._json)(_),
|
|
9478
9489
|
'description': [],
|
|
9479
9490
|
'dimension': [],
|
|
9491
|
+
'dimension_type': _ => (0, smithy_client_1._json)(_),
|
|
9480
9492
|
'function_name': [],
|
|
9481
9493
|
'position': [],
|
|
9482
9494
|
'schema': _ => se_Document(_),
|
|
@@ -10405,7 +10417,6 @@ function requireAws_restJson1 () {
|
|
|
10405
10417
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
10406
10418
|
'autocomplete_function_name': [],
|
|
10407
10419
|
'change_reason': [],
|
|
10408
|
-
'dependencies': _ => (0, smithy_client_1._json)(_),
|
|
10409
10420
|
'description': [],
|
|
10410
10421
|
'function_name': [],
|
|
10411
10422
|
'position': [],
|
|
@@ -10766,11 +10777,10 @@ function requireAws_restJson1 () {
|
|
|
10766
10777
|
'change_reason': smithy_client_1.expectString,
|
|
10767
10778
|
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
10768
10779
|
'created_by': smithy_client_1.expectString,
|
|
10769
|
-
'dependencies': smithy_client_1._json,
|
|
10770
10780
|
'dependency_graph': _ => de_Object(_),
|
|
10771
|
-
'dependents': smithy_client_1._json,
|
|
10772
10781
|
'description': smithy_client_1.expectString,
|
|
10773
10782
|
'dimension': smithy_client_1.expectString,
|
|
10783
|
+
'dimension_type': _ => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
10774
10784
|
'function_name': smithy_client_1.expectString,
|
|
10775
10785
|
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
10776
10786
|
'last_modified_by': smithy_client_1.expectString,
|
|
@@ -11121,6 +11131,7 @@ function requireAws_restJson1 () {
|
|
|
11121
11131
|
const doc = (0, smithy_client_1.take)(data, {
|
|
11122
11132
|
'contexts': _ => de_ContextList(_),
|
|
11123
11133
|
'default_configs': _ => de_Object(_),
|
|
11134
|
+
'dimensions': _ => de_DimensionData(_),
|
|
11124
11135
|
'overrides': _ => de_OverridesMap(_),
|
|
11125
11136
|
});
|
|
11126
11137
|
Object.assign(contents, doc);
|
|
@@ -11206,11 +11217,10 @@ function requireAws_restJson1 () {
|
|
|
11206
11217
|
'change_reason': smithy_client_1.expectString,
|
|
11207
11218
|
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11208
11219
|
'created_by': smithy_client_1.expectString,
|
|
11209
|
-
'dependencies': smithy_client_1._json,
|
|
11210
11220
|
'dependency_graph': _ => de_Object(_),
|
|
11211
|
-
'dependents': smithy_client_1._json,
|
|
11212
11221
|
'description': smithy_client_1.expectString,
|
|
11213
11222
|
'dimension': smithy_client_1.expectString,
|
|
11223
|
+
'dimension_type': _ => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
11214
11224
|
'function_name': smithy_client_1.expectString,
|
|
11215
11225
|
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11216
11226
|
'last_modified_by': smithy_client_1.expectString,
|
|
@@ -11855,11 +11865,10 @@ function requireAws_restJson1 () {
|
|
|
11855
11865
|
'change_reason': smithy_client_1.expectString,
|
|
11856
11866
|
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11857
11867
|
'created_by': smithy_client_1.expectString,
|
|
11858
|
-
'dependencies': smithy_client_1._json,
|
|
11859
11868
|
'dependency_graph': _ => de_Object(_),
|
|
11860
|
-
'dependents': smithy_client_1._json,
|
|
11861
11869
|
'description': smithy_client_1.expectString,
|
|
11862
11870
|
'dimension': smithy_client_1.expectString,
|
|
11871
|
+
'dimension_type': _ => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
11863
11872
|
'function_name': smithy_client_1.expectString,
|
|
11864
11873
|
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11865
11874
|
'last_modified_by': smithy_client_1.expectString,
|
|
@@ -12471,17 +12480,25 @@ function requireAws_restJson1 () {
|
|
|
12471
12480
|
'value': (_) => de_Document(_),
|
|
12472
12481
|
});
|
|
12473
12482
|
};
|
|
12483
|
+
const de_DimensionData = (output, context) => {
|
|
12484
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
12485
|
+
if (value === null) {
|
|
12486
|
+
return acc;
|
|
12487
|
+
}
|
|
12488
|
+
acc[key] = de_Document(value);
|
|
12489
|
+
return acc;
|
|
12490
|
+
}, {});
|
|
12491
|
+
};
|
|
12474
12492
|
const de_DimensionExt = (output, context) => {
|
|
12475
12493
|
return (0, smithy_client_1.take)(output, {
|
|
12476
12494
|
'autocomplete_function_name': smithy_client_1.expectString,
|
|
12477
12495
|
'change_reason': smithy_client_1.expectString,
|
|
12478
12496
|
'created_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
12479
12497
|
'created_by': smithy_client_1.expectString,
|
|
12480
|
-
'dependencies': smithy_client_1._json,
|
|
12481
12498
|
'dependency_graph': (_) => de_Object(_),
|
|
12482
|
-
'dependents': smithy_client_1._json,
|
|
12483
12499
|
'description': smithy_client_1.expectString,
|
|
12484
12500
|
'dimension': smithy_client_1.expectString,
|
|
12501
|
+
'dimension_type': (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
12485
12502
|
'function_name': smithy_client_1.expectString,
|
|
12486
12503
|
'last_modified_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
12487
12504
|
'last_modified_by': smithy_client_1.expectString,
|