superposition-provider 0.97.4 → 0.99.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 +668 -98
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +668 -98
- 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
|
@@ -3180,7 +3180,7 @@ var runtimeConfig = {};
|
|
|
3180
3180
|
|
|
3181
3181
|
var name = "superposition-sdk";
|
|
3182
3182
|
var description = "superposition-sdk client";
|
|
3183
|
-
var version = "0.
|
|
3183
|
+
var version = "0.99.0";
|
|
3184
3184
|
var repository = {
|
|
3185
3185
|
type: "git",
|
|
3186
3186
|
url: "git+https://github.com/juspay/superposition.git"
|
|
@@ -8444,7 +8444,7 @@ var require$$8 = /*@__PURE__*/getAugmentedNamespace(distEs$a);
|
|
|
8444
8444
|
|
|
8445
8445
|
var runtimeConfig_shared = {};
|
|
8446
8446
|
|
|
8447
|
-
var require$$
|
|
8447
|
+
var require$$84 = /*@__PURE__*/getAugmentedNamespace(distEs$f);
|
|
8448
8448
|
|
|
8449
8449
|
function parseQueryString(querystring) {
|
|
8450
8450
|
const query = {};
|
|
@@ -8508,7 +8508,7 @@ function requireRuntimeConfig_shared () {
|
|
|
8508
8508
|
runtimeConfig_shared.getRuntimeConfig = void 0;
|
|
8509
8509
|
const httpAuthSchemeProvider_1 = requireHttpAuthSchemeProvider();
|
|
8510
8510
|
const core_1 = require$$3$3;
|
|
8511
|
-
const smithy_client_1 = require$$
|
|
8511
|
+
const smithy_client_1 = require$$84;
|
|
8512
8512
|
const url_parser_1 = require$$3$1;
|
|
8513
8513
|
const util_base64_1 = require$$4$1;
|
|
8514
8514
|
const util_utf8_1 = require$$5$1;
|
|
@@ -8812,9 +8812,9 @@ function requireRuntimeConfig () {
|
|
|
8812
8812
|
const util_body_length_node_1 = require$$7$1;
|
|
8813
8813
|
const util_retry_1 = require$$8;
|
|
8814
8814
|
const runtimeConfig_shared_1 = requireRuntimeConfig_shared();
|
|
8815
|
-
const smithy_client_1 = require$$
|
|
8815
|
+
const smithy_client_1 = require$$84;
|
|
8816
8816
|
const util_defaults_mode_node_1 = require$$11;
|
|
8817
|
-
const smithy_client_2 = require$$
|
|
8817
|
+
const smithy_client_2 = require$$84;
|
|
8818
8818
|
const getRuntimeConfig = (config) => {
|
|
8819
8819
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
8820
8820
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
@@ -8905,7 +8905,7 @@ function requireRuntimeExtensions () {
|
|
|
8905
8905
|
runtimeExtensions.resolveRuntimeExtensions = void 0;
|
|
8906
8906
|
const httpAuthExtensionConfiguration_1 = requireHttpAuthExtensionConfiguration();
|
|
8907
8907
|
const protocol_http_1 = require$$1$1;
|
|
8908
|
-
const smithy_client_1 = require$$
|
|
8908
|
+
const smithy_client_1 = require$$84;
|
|
8909
8909
|
const asPartial = (t) => t;
|
|
8910
8910
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
8911
8911
|
const extensionConfiguration = {
|
|
@@ -9134,7 +9134,7 @@ function requireSuperpositionClient () {
|
|
|
9134
9134
|
const core_1 = require$$3$3;
|
|
9135
9135
|
const middleware_content_length_1 = require$$9;
|
|
9136
9136
|
const middleware_retry_1 = require$$10;
|
|
9137
|
-
const smithy_client_1 = require$$
|
|
9137
|
+
const smithy_client_1 = require$$84;
|
|
9138
9138
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
9139
9139
|
class SuperpositionClient extends smithy_client_1.Client {
|
|
9140
9140
|
config;
|
|
@@ -9186,7 +9186,7 @@ function requireSuperpositionServiceException () {
|
|
|
9186
9186
|
(function (exports) {
|
|
9187
9187
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9188
9188
|
exports.SuperpositionServiceException = exports.__ServiceException = void 0;
|
|
9189
|
-
const smithy_client_1 = require$$
|
|
9189
|
+
const smithy_client_1 = require$$84;
|
|
9190
9190
|
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
9191
9191
|
class SuperpositionServiceException extends smithy_client_1.ServiceException {
|
|
9192
9192
|
constructor(options) {
|
|
@@ -9207,7 +9207,7 @@ function requireModels_0 () {
|
|
|
9207
9207
|
if (hasRequiredModels_0) return models_0;
|
|
9208
9208
|
hasRequiredModels_0 = 1;
|
|
9209
9209
|
Object.defineProperty(models_0, "__esModule", { value: true });
|
|
9210
|
-
models_0.VariableSortOn = models_0.Stage = models_0.FunctionExecutionRequest = models_0.ExperimentSortOn = models_0.ExperimentGroupSortOn = models_0.WorkspaceStatus = models_0.Version = models_0.HttpMethod = models_0.OrgStatus = models_0.FunctionRuntimeVersion = models_0.FunctionTypes = models_0.ContextFilterSortOn = models_0.DimensionMatchStrategy = models_0.MergeStrategy = models_0.DimensionType = models_0.ExperimentStatusType = models_0.ExperimentType = models_0.ContextActionOut = models_0.ContextAction = models_0.ContextIdentifier = models_0.SortBy = models_0.AuditAction = models_0.VariantType = models_0.ResourceNotFound = models_0.InternalServerError = models_0.GroupType = void 0;
|
|
9210
|
+
models_0.VariableSortOn = models_0.SecretSortOn = models_0.Stage = models_0.FunctionExecutionRequest = models_0.ExperimentSortOn = models_0.ExperimentGroupSortOn = models_0.WorkspaceStatus = models_0.Version = models_0.HttpMethod = models_0.OrgStatus = models_0.FunctionRuntimeVersion = models_0.FunctionTypes = models_0.ContextFilterSortOn = models_0.DimensionMatchStrategy = models_0.MergeStrategy = models_0.DimensionType = models_0.ExperimentStatusType = models_0.ExperimentType = models_0.ContextActionOut = models_0.ContextAction = models_0.ContextIdentifier = models_0.SortBy = models_0.AuditAction = models_0.VariantType = models_0.ResourceNotFound = models_0.InternalServerError = models_0.GroupType = void 0;
|
|
9211
9211
|
const SuperpositionServiceException_1 = requireSuperpositionServiceException();
|
|
9212
9212
|
models_0.GroupType = {
|
|
9213
9213
|
SYSTEM_GENERATED: "SYSTEM_GENERATED",
|
|
@@ -9382,6 +9382,11 @@ function requireModels_0 () {
|
|
|
9382
9382
|
DRAFT: "draft",
|
|
9383
9383
|
PUBLISHED: "published",
|
|
9384
9384
|
};
|
|
9385
|
+
models_0.SecretSortOn = {
|
|
9386
|
+
CREATED_AT: "created_at",
|
|
9387
|
+
LAST_MODIFIED_AT: "last_modified_at",
|
|
9388
|
+
NAME: "name",
|
|
9389
|
+
};
|
|
9385
9390
|
models_0.VariableSortOn = {
|
|
9386
9391
|
CREATED_AT: "created_at",
|
|
9387
9392
|
LAST_MODIFIED_AT: "last_modified_at",
|
|
@@ -9398,15 +9403,15 @@ function requireAws_restJson1 () {
|
|
|
9398
9403
|
if (hasRequiredAws_restJson1) return Aws_restJson1;
|
|
9399
9404
|
hasRequiredAws_restJson1 = 1;
|
|
9400
9405
|
Object.defineProperty(Aws_restJson1, "__esModule", { value: true });
|
|
9401
|
-
Aws_restJson1.
|
|
9402
|
-
Aws_restJson1.
|
|
9403
|
-
Aws_restJson1.
|
|
9404
|
-
Aws_restJson1.de_WeightRecomputeCommand = Aws_restJson1.de_ValidateContextCommand = void 0;
|
|
9406
|
+
Aws_restJson1.se_ListDimensionsCommand = Aws_restJson1.se_ListDefaultConfigsCommand = Aws_restJson1.se_ListContextsCommand = Aws_restJson1.se_ListAuditLogsCommand = Aws_restJson1.se_GetWorkspaceCommand = Aws_restJson1.se_GetWebhookByEventCommand = Aws_restJson1.se_GetWebhookCommand = Aws_restJson1.se_GetVersionCommand = Aws_restJson1.se_GetVariableCommand = Aws_restJson1.se_GetTypeTemplatesListCommand = Aws_restJson1.se_GetTypeTemplateCommand = Aws_restJson1.se_GetSecretCommand = Aws_restJson1.se_GetResolvedConfigWithIdentifierCommand = Aws_restJson1.se_GetResolvedConfigCommand = Aws_restJson1.se_GetOrganisationCommand = Aws_restJson1.se_GetFunctionCommand = Aws_restJson1.se_GetExperimentGroupCommand = Aws_restJson1.se_GetExperimentCommand = Aws_restJson1.se_GetDimensionCommand = Aws_restJson1.se_GetDefaultConfigCommand = Aws_restJson1.se_GetContextFromConditionCommand = Aws_restJson1.se_GetContextCommand = Aws_restJson1.se_GetConfigFastCommand = Aws_restJson1.se_GetConfigCommand = Aws_restJson1.se_DiscardExperimentCommand = Aws_restJson1.se_DeleteWebhookCommand = Aws_restJson1.se_DeleteVariableCommand = Aws_restJson1.se_DeleteTypeTemplatesCommand = Aws_restJson1.se_DeleteSecretCommand = Aws_restJson1.se_DeleteFunctionCommand = Aws_restJson1.se_DeleteExperimentGroupCommand = Aws_restJson1.se_DeleteDimensionCommand = Aws_restJson1.se_DeleteDefaultConfigCommand = Aws_restJson1.se_DeleteContextCommand = Aws_restJson1.se_CreateWorkspaceCommand = Aws_restJson1.se_CreateWebhookCommand = Aws_restJson1.se_CreateVariableCommand = Aws_restJson1.se_CreateTypeTemplatesCommand = Aws_restJson1.se_CreateSecretCommand = Aws_restJson1.se_CreateOrganisationCommand = Aws_restJson1.se_CreateFunctionCommand = Aws_restJson1.se_CreateExperimentGroupCommand = Aws_restJson1.se_CreateExperimentCommand = Aws_restJson1.se_CreateDimensionCommand = Aws_restJson1.se_CreateDefaultConfigCommand = Aws_restJson1.se_CreateContextCommand = Aws_restJson1.se_ConcludeExperimentCommand = Aws_restJson1.se_BulkOperationCommand = Aws_restJson1.se_ApplicableVariantsCommand = Aws_restJson1.se_AddMembersToGroupCommand = void 0;
|
|
9407
|
+
Aws_restJson1.de_DeleteContextCommand = Aws_restJson1.de_CreateWorkspaceCommand = Aws_restJson1.de_CreateWebhookCommand = Aws_restJson1.de_CreateVariableCommand = Aws_restJson1.de_CreateTypeTemplatesCommand = Aws_restJson1.de_CreateSecretCommand = Aws_restJson1.de_CreateOrganisationCommand = Aws_restJson1.de_CreateFunctionCommand = Aws_restJson1.de_CreateExperimentGroupCommand = Aws_restJson1.de_CreateExperimentCommand = Aws_restJson1.de_CreateDimensionCommand = Aws_restJson1.de_CreateDefaultConfigCommand = Aws_restJson1.de_CreateContextCommand = Aws_restJson1.de_ConcludeExperimentCommand = Aws_restJson1.de_BulkOperationCommand = Aws_restJson1.de_ApplicableVariantsCommand = Aws_restJson1.de_AddMembersToGroupCommand = Aws_restJson1.se_WeightRecomputeCommand = Aws_restJson1.se_ValidateContextCommand = Aws_restJson1.se_UpdateWorkspaceCommand = Aws_restJson1.se_UpdateWebhookCommand = Aws_restJson1.se_UpdateVariableCommand = Aws_restJson1.se_UpdateTypeTemplatesCommand = Aws_restJson1.se_UpdateSecretCommand = Aws_restJson1.se_UpdateOverridesExperimentCommand = Aws_restJson1.se_UpdateOverrideCommand = Aws_restJson1.se_UpdateOrganisationCommand = Aws_restJson1.se_UpdateFunctionCommand = Aws_restJson1.se_UpdateExperimentGroupCommand = Aws_restJson1.se_UpdateDimensionCommand = Aws_restJson1.se_UpdateDefaultConfigCommand = Aws_restJson1.se_TestCommand = Aws_restJson1.se_RotateWorkspaceEncryptionKeyCommand = Aws_restJson1.se_RotateMasterEncryptionKeyCommand = Aws_restJson1.se_ResumeExperimentCommand = Aws_restJson1.se_RemoveMembersFromGroupCommand = Aws_restJson1.se_RampExperimentCommand = Aws_restJson1.se_PublishCommand = Aws_restJson1.se_PauseExperimentCommand = Aws_restJson1.se_MoveContextCommand = Aws_restJson1.se_MigrateWorkspaceSchemaCommand = Aws_restJson1.se_ListWorkspaceCommand = Aws_restJson1.se_ListWebhookCommand = Aws_restJson1.se_ListVersionsCommand = Aws_restJson1.se_ListVariablesCommand = Aws_restJson1.se_ListSecretsCommand = Aws_restJson1.se_ListOrganisationCommand = Aws_restJson1.se_ListFunctionCommand = Aws_restJson1.se_ListExperimentGroupsCommand = Aws_restJson1.se_ListExperimentCommand = void 0;
|
|
9408
|
+
Aws_restJson1.de_RotateMasterEncryptionKeyCommand = Aws_restJson1.de_ResumeExperimentCommand = Aws_restJson1.de_RemoveMembersFromGroupCommand = Aws_restJson1.de_RampExperimentCommand = Aws_restJson1.de_PublishCommand = Aws_restJson1.de_PauseExperimentCommand = Aws_restJson1.de_MoveContextCommand = Aws_restJson1.de_MigrateWorkspaceSchemaCommand = Aws_restJson1.de_ListWorkspaceCommand = Aws_restJson1.de_ListWebhookCommand = Aws_restJson1.de_ListVersionsCommand = Aws_restJson1.de_ListVariablesCommand = Aws_restJson1.de_ListSecretsCommand = Aws_restJson1.de_ListOrganisationCommand = Aws_restJson1.de_ListFunctionCommand = Aws_restJson1.de_ListExperimentGroupsCommand = Aws_restJson1.de_ListExperimentCommand = Aws_restJson1.de_ListDimensionsCommand = Aws_restJson1.de_ListDefaultConfigsCommand = Aws_restJson1.de_ListContextsCommand = Aws_restJson1.de_ListAuditLogsCommand = Aws_restJson1.de_GetWorkspaceCommand = Aws_restJson1.de_GetWebhookByEventCommand = Aws_restJson1.de_GetWebhookCommand = Aws_restJson1.de_GetVersionCommand = Aws_restJson1.de_GetVariableCommand = Aws_restJson1.de_GetTypeTemplatesListCommand = Aws_restJson1.de_GetTypeTemplateCommand = Aws_restJson1.de_GetSecretCommand = Aws_restJson1.de_GetResolvedConfigWithIdentifierCommand = Aws_restJson1.de_GetResolvedConfigCommand = Aws_restJson1.de_GetOrganisationCommand = Aws_restJson1.de_GetFunctionCommand = Aws_restJson1.de_GetExperimentGroupCommand = Aws_restJson1.de_GetExperimentCommand = Aws_restJson1.de_GetDimensionCommand = Aws_restJson1.de_GetDefaultConfigCommand = Aws_restJson1.de_GetContextFromConditionCommand = Aws_restJson1.de_GetContextCommand = Aws_restJson1.de_GetConfigFastCommand = Aws_restJson1.de_GetConfigCommand = Aws_restJson1.de_DiscardExperimentCommand = Aws_restJson1.de_DeleteWebhookCommand = Aws_restJson1.de_DeleteVariableCommand = Aws_restJson1.de_DeleteTypeTemplatesCommand = Aws_restJson1.de_DeleteSecretCommand = Aws_restJson1.de_DeleteFunctionCommand = Aws_restJson1.de_DeleteExperimentGroupCommand = Aws_restJson1.de_DeleteDimensionCommand = Aws_restJson1.de_DeleteDefaultConfigCommand = void 0;
|
|
9409
|
+
Aws_restJson1.de_WeightRecomputeCommand = Aws_restJson1.de_ValidateContextCommand = Aws_restJson1.de_UpdateWorkspaceCommand = Aws_restJson1.de_UpdateWebhookCommand = Aws_restJson1.de_UpdateVariableCommand = Aws_restJson1.de_UpdateTypeTemplatesCommand = Aws_restJson1.de_UpdateSecretCommand = Aws_restJson1.de_UpdateOverridesExperimentCommand = Aws_restJson1.de_UpdateOverrideCommand = Aws_restJson1.de_UpdateOrganisationCommand = Aws_restJson1.de_UpdateFunctionCommand = Aws_restJson1.de_UpdateExperimentGroupCommand = Aws_restJson1.de_UpdateDimensionCommand = Aws_restJson1.de_UpdateDefaultConfigCommand = Aws_restJson1.de_TestCommand = Aws_restJson1.de_RotateWorkspaceEncryptionKeyCommand = void 0;
|
|
9405
9410
|
const SuperpositionServiceException_1 = requireSuperpositionServiceException();
|
|
9406
9411
|
const models_0_1 = requireModels_0();
|
|
9407
9412
|
const core_1 = require$$2;
|
|
9408
9413
|
const core_2 = require$$3$3;
|
|
9409
|
-
const smithy_client_1 = require$$
|
|
9414
|
+
const smithy_client_1 = require$$84;
|
|
9410
9415
|
const se_AddMembersToGroupCommand = async (input, context) => {
|
|
9411
9416
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9412
9417
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -9650,6 +9655,27 @@ function requireAws_restJson1 () {
|
|
|
9650
9655
|
return b.build();
|
|
9651
9656
|
};
|
|
9652
9657
|
Aws_restJson1.se_CreateOrganisationCommand = se_CreateOrganisationCommand;
|
|
9658
|
+
const se_CreateSecretCommand = async (input, context) => {
|
|
9659
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
9660
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9661
|
+
'content-type': 'application/json',
|
|
9662
|
+
[_xw]: input[_wi],
|
|
9663
|
+
[_xoi]: input[_oi],
|
|
9664
|
+
});
|
|
9665
|
+
b.bp("/secrets");
|
|
9666
|
+
let body;
|
|
9667
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
9668
|
+
'change_reason': [],
|
|
9669
|
+
'description': [],
|
|
9670
|
+
'name': [],
|
|
9671
|
+
'value': [],
|
|
9672
|
+
}));
|
|
9673
|
+
b.m("POST")
|
|
9674
|
+
.h(headers)
|
|
9675
|
+
.b(body);
|
|
9676
|
+
return b.build();
|
|
9677
|
+
};
|
|
9678
|
+
Aws_restJson1.se_CreateSecretCommand = se_CreateSecretCommand;
|
|
9653
9679
|
const se_CreateTypeTemplatesCommand = async (input, context) => {
|
|
9654
9680
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9655
9681
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -9818,6 +9844,21 @@ function requireAws_restJson1 () {
|
|
|
9818
9844
|
return b.build();
|
|
9819
9845
|
};
|
|
9820
9846
|
Aws_restJson1.se_DeleteFunctionCommand = se_DeleteFunctionCommand;
|
|
9847
|
+
const se_DeleteSecretCommand = async (input, context) => {
|
|
9848
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
9849
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
9850
|
+
[_xw]: input[_wi],
|
|
9851
|
+
[_xoi]: input[_oi],
|
|
9852
|
+
});
|
|
9853
|
+
b.bp("/secrets/{name}");
|
|
9854
|
+
b.p('name', () => input.name, '{name}', false);
|
|
9855
|
+
let body;
|
|
9856
|
+
b.m("DELETE")
|
|
9857
|
+
.h(headers)
|
|
9858
|
+
.b(body);
|
|
9859
|
+
return b.build();
|
|
9860
|
+
};
|
|
9861
|
+
Aws_restJson1.se_DeleteSecretCommand = se_DeleteSecretCommand;
|
|
9821
9862
|
const se_DeleteTypeTemplatesCommand = async (input, context) => {
|
|
9822
9863
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
9823
9864
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -10100,6 +10141,21 @@ function requireAws_restJson1 () {
|
|
|
10100
10141
|
return b.build();
|
|
10101
10142
|
};
|
|
10102
10143
|
Aws_restJson1.se_GetResolvedConfigWithIdentifierCommand = se_GetResolvedConfigWithIdentifierCommand;
|
|
10144
|
+
const se_GetSecretCommand = async (input, context) => {
|
|
10145
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
10146
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10147
|
+
[_xw]: input[_wi],
|
|
10148
|
+
[_xoi]: input[_oi],
|
|
10149
|
+
});
|
|
10150
|
+
b.bp("/secrets/{name}");
|
|
10151
|
+
b.p('name', () => input.name, '{name}', false);
|
|
10152
|
+
let body;
|
|
10153
|
+
b.m("GET")
|
|
10154
|
+
.h(headers)
|
|
10155
|
+
.b(body);
|
|
10156
|
+
return b.build();
|
|
10157
|
+
};
|
|
10158
|
+
Aws_restJson1.se_GetSecretCommand = se_GetSecretCommand;
|
|
10103
10159
|
const se_GetTypeTemplateCommand = async (input, context) => {
|
|
10104
10160
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10105
10161
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -10398,6 +10454,31 @@ function requireAws_restJson1 () {
|
|
|
10398
10454
|
return b.build();
|
|
10399
10455
|
};
|
|
10400
10456
|
Aws_restJson1.se_ListOrganisationCommand = se_ListOrganisationCommand;
|
|
10457
|
+
const se_ListSecretsCommand = async (input, context) => {
|
|
10458
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
10459
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10460
|
+
[_xw]: input[_wi],
|
|
10461
|
+
[_xoi]: input[_oi],
|
|
10462
|
+
});
|
|
10463
|
+
b.bp("/secrets");
|
|
10464
|
+
const query = (0, smithy_client_1.map)({
|
|
10465
|
+
[_c]: [() => input.count !== void 0, () => (input[_c].toString())],
|
|
10466
|
+
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10467
|
+
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
10468
|
+
[_n]: [() => input.name !== void 0, () => ((input[_n] || []))],
|
|
10469
|
+
[_cb]: [() => input.created_by !== void 0, () => ((input[_cb] || []))],
|
|
10470
|
+
[_lmb]: [() => input.last_modified_by !== void 0, () => ((input[_lmb] || []))],
|
|
10471
|
+
[_so]: [, input[_so]],
|
|
10472
|
+
[_sb]: [, input[_sb]],
|
|
10473
|
+
});
|
|
10474
|
+
let body;
|
|
10475
|
+
b.m("GET")
|
|
10476
|
+
.h(headers)
|
|
10477
|
+
.q(query)
|
|
10478
|
+
.b(body);
|
|
10479
|
+
return b.build();
|
|
10480
|
+
};
|
|
10481
|
+
Aws_restJson1.se_ListSecretsCommand = se_ListSecretsCommand;
|
|
10401
10482
|
const se_ListVariablesCommand = async (input, context) => {
|
|
10402
10483
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10403
10484
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -10409,9 +10490,9 @@ function requireAws_restJson1 () {
|
|
|
10409
10490
|
[_c]: [() => input.count !== void 0, () => (input[_c].toString())],
|
|
10410
10491
|
[_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
|
|
10411
10492
|
[_a]: [() => input.all !== void 0, () => (input[_a].toString())],
|
|
10412
|
-
[_n]: [, input[_n]],
|
|
10413
|
-
[_cb]: [, input[_cb]],
|
|
10414
|
-
[_lmb]: [, input[_lmb]],
|
|
10493
|
+
[_n]: [() => input.name !== void 0, () => ((input[_n] || []))],
|
|
10494
|
+
[_cb]: [() => input.created_by !== void 0, () => ((input[_cb] || []))],
|
|
10495
|
+
[_lmb]: [() => input.last_modified_by !== void 0, () => ((input[_lmb] || []))],
|
|
10415
10496
|
[_so]: [, input[_so]],
|
|
10416
10497
|
[_sb]: [, input[_sb]],
|
|
10417
10498
|
});
|
|
@@ -10615,6 +10696,31 @@ function requireAws_restJson1 () {
|
|
|
10615
10696
|
return b.build();
|
|
10616
10697
|
};
|
|
10617
10698
|
Aws_restJson1.se_ResumeExperimentCommand = se_ResumeExperimentCommand;
|
|
10699
|
+
const se_RotateMasterEncryptionKeyCommand = async (input, context) => {
|
|
10700
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
10701
|
+
const headers = {};
|
|
10702
|
+
b.bp("/master-encryption-key/rotate");
|
|
10703
|
+
let body;
|
|
10704
|
+
b.m("POST")
|
|
10705
|
+
.h(headers)
|
|
10706
|
+
.b(body);
|
|
10707
|
+
return b.build();
|
|
10708
|
+
};
|
|
10709
|
+
Aws_restJson1.se_RotateMasterEncryptionKeyCommand = se_RotateMasterEncryptionKeyCommand;
|
|
10710
|
+
const se_RotateWorkspaceEncryptionKeyCommand = async (input, context) => {
|
|
10711
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
10712
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10713
|
+
[_xoi]: input[_oi],
|
|
10714
|
+
});
|
|
10715
|
+
b.bp("/workspaces/{workspace_name}/rotate-encryption-key");
|
|
10716
|
+
b.p('workspace_name', () => input.workspace_name, '{workspace_name}', false);
|
|
10717
|
+
let body;
|
|
10718
|
+
b.m("POST")
|
|
10719
|
+
.h(headers)
|
|
10720
|
+
.b(body);
|
|
10721
|
+
return b.build();
|
|
10722
|
+
};
|
|
10723
|
+
Aws_restJson1.se_RotateWorkspaceEncryptionKeyCommand = se_RotateWorkspaceEncryptionKeyCommand;
|
|
10618
10724
|
const se_TestCommand = async (input, context) => {
|
|
10619
10725
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10620
10726
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -10798,6 +10904,27 @@ function requireAws_restJson1 () {
|
|
|
10798
10904
|
return b.build();
|
|
10799
10905
|
};
|
|
10800
10906
|
Aws_restJson1.se_UpdateOverridesExperimentCommand = se_UpdateOverridesExperimentCommand;
|
|
10907
|
+
const se_UpdateSecretCommand = async (input, context) => {
|
|
10908
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
10909
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
10910
|
+
'content-type': 'application/json',
|
|
10911
|
+
[_xw]: input[_wi],
|
|
10912
|
+
[_xoi]: input[_oi],
|
|
10913
|
+
});
|
|
10914
|
+
b.bp("/secrets/{name}");
|
|
10915
|
+
b.p('name', () => input.name, '{name}', false);
|
|
10916
|
+
let body;
|
|
10917
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
10918
|
+
'change_reason': [],
|
|
10919
|
+
'description': [],
|
|
10920
|
+
'value': [],
|
|
10921
|
+
}));
|
|
10922
|
+
b.m("PATCH")
|
|
10923
|
+
.h(headers)
|
|
10924
|
+
.b(body);
|
|
10925
|
+
return b.build();
|
|
10926
|
+
};
|
|
10927
|
+
Aws_restJson1.se_UpdateSecretCommand = se_UpdateSecretCommand;
|
|
10801
10928
|
const se_UpdateTypeTemplatesCommand = async (input, context) => {
|
|
10802
10929
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
10803
10930
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -11211,6 +11338,27 @@ function requireAws_restJson1 () {
|
|
|
11211
11338
|
return contents;
|
|
11212
11339
|
};
|
|
11213
11340
|
Aws_restJson1.de_CreateOrganisationCommand = de_CreateOrganisationCommand;
|
|
11341
|
+
const de_CreateSecretCommand = async (output, context) => {
|
|
11342
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11343
|
+
return de_CommandError(output, context);
|
|
11344
|
+
}
|
|
11345
|
+
const contents = (0, smithy_client_1.map)({
|
|
11346
|
+
$metadata: deserializeMetadata(output),
|
|
11347
|
+
});
|
|
11348
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11349
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11350
|
+
'change_reason': smithy_client_1.expectString,
|
|
11351
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11352
|
+
'created_by': smithy_client_1.expectString,
|
|
11353
|
+
'description': smithy_client_1.expectString,
|
|
11354
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11355
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
11356
|
+
'name': smithy_client_1.expectString,
|
|
11357
|
+
});
|
|
11358
|
+
Object.assign(contents, doc);
|
|
11359
|
+
return contents;
|
|
11360
|
+
};
|
|
11361
|
+
Aws_restJson1.de_CreateSecretCommand = de_CreateSecretCommand;
|
|
11214
11362
|
const de_CreateTypeTemplatesCommand = async (output, context) => {
|
|
11215
11363
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11216
11364
|
return de_CommandError(output, context);
|
|
@@ -11387,6 +11535,27 @@ function requireAws_restJson1 () {
|
|
|
11387
11535
|
return contents;
|
|
11388
11536
|
};
|
|
11389
11537
|
Aws_restJson1.de_DeleteFunctionCommand = de_DeleteFunctionCommand;
|
|
11538
|
+
const de_DeleteSecretCommand = async (output, context) => {
|
|
11539
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11540
|
+
return de_CommandError(output, context);
|
|
11541
|
+
}
|
|
11542
|
+
const contents = (0, smithy_client_1.map)({
|
|
11543
|
+
$metadata: deserializeMetadata(output),
|
|
11544
|
+
});
|
|
11545
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11546
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11547
|
+
'change_reason': smithy_client_1.expectString,
|
|
11548
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11549
|
+
'created_by': smithy_client_1.expectString,
|
|
11550
|
+
'description': smithy_client_1.expectString,
|
|
11551
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11552
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
11553
|
+
'name': smithy_client_1.expectString,
|
|
11554
|
+
});
|
|
11555
|
+
Object.assign(contents, doc);
|
|
11556
|
+
return contents;
|
|
11557
|
+
};
|
|
11558
|
+
Aws_restJson1.de_DeleteSecretCommand = de_DeleteSecretCommand;
|
|
11390
11559
|
const de_DeleteTypeTemplatesCommand = async (output, context) => {
|
|
11391
11560
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11392
11561
|
return de_CommandError(output, context);
|
|
@@ -11764,6 +11933,27 @@ function requireAws_restJson1 () {
|
|
|
11764
11933
|
return contents;
|
|
11765
11934
|
};
|
|
11766
11935
|
Aws_restJson1.de_GetResolvedConfigWithIdentifierCommand = de_GetResolvedConfigWithIdentifierCommand;
|
|
11936
|
+
const de_GetSecretCommand = async (output, context) => {
|
|
11937
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11938
|
+
return de_CommandError(output, context);
|
|
11939
|
+
}
|
|
11940
|
+
const contents = (0, smithy_client_1.map)({
|
|
11941
|
+
$metadata: deserializeMetadata(output),
|
|
11942
|
+
});
|
|
11943
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
11944
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
11945
|
+
'change_reason': smithy_client_1.expectString,
|
|
11946
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11947
|
+
'created_by': smithy_client_1.expectString,
|
|
11948
|
+
'description': smithy_client_1.expectString,
|
|
11949
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
11950
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
11951
|
+
'name': smithy_client_1.expectString,
|
|
11952
|
+
});
|
|
11953
|
+
Object.assign(contents, doc);
|
|
11954
|
+
return contents;
|
|
11955
|
+
};
|
|
11956
|
+
Aws_restJson1.de_GetSecretCommand = de_GetSecretCommand;
|
|
11767
11957
|
const de_GetTypeTemplateCommand = async (output, context) => {
|
|
11768
11958
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11769
11959
|
return de_CommandError(output, context);
|
|
@@ -12070,6 +12260,23 @@ function requireAws_restJson1 () {
|
|
|
12070
12260
|
return contents;
|
|
12071
12261
|
};
|
|
12072
12262
|
Aws_restJson1.de_ListOrganisationCommand = de_ListOrganisationCommand;
|
|
12263
|
+
const de_ListSecretsCommand = async (output, context) => {
|
|
12264
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12265
|
+
return de_CommandError(output, context);
|
|
12266
|
+
}
|
|
12267
|
+
const contents = (0, smithy_client_1.map)({
|
|
12268
|
+
$metadata: deserializeMetadata(output),
|
|
12269
|
+
});
|
|
12270
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
12271
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
12272
|
+
'data': _ => de_SecretList(_),
|
|
12273
|
+
'total_items': smithy_client_1.expectInt32,
|
|
12274
|
+
'total_pages': smithy_client_1.expectInt32,
|
|
12275
|
+
});
|
|
12276
|
+
Object.assign(contents, doc);
|
|
12277
|
+
return contents;
|
|
12278
|
+
};
|
|
12279
|
+
Aws_restJson1.de_ListSecretsCommand = de_ListSecretsCommand;
|
|
12073
12280
|
const de_ListVariablesCommand = async (output, context) => {
|
|
12074
12281
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12075
12282
|
return de_CommandError(output, context);
|
|
@@ -12352,6 +12559,37 @@ function requireAws_restJson1 () {
|
|
|
12352
12559
|
return contents;
|
|
12353
12560
|
};
|
|
12354
12561
|
Aws_restJson1.de_ResumeExperimentCommand = de_ResumeExperimentCommand;
|
|
12562
|
+
const de_RotateMasterEncryptionKeyCommand = async (output, context) => {
|
|
12563
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12564
|
+
return de_CommandError(output, context);
|
|
12565
|
+
}
|
|
12566
|
+
const contents = (0, smithy_client_1.map)({
|
|
12567
|
+
$metadata: deserializeMetadata(output),
|
|
12568
|
+
});
|
|
12569
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
12570
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
12571
|
+
'total_secrets_re_encrypted': smithy_client_1.expectLong,
|
|
12572
|
+
'workspaces_rotated': smithy_client_1.expectLong,
|
|
12573
|
+
});
|
|
12574
|
+
Object.assign(contents, doc);
|
|
12575
|
+
return contents;
|
|
12576
|
+
};
|
|
12577
|
+
Aws_restJson1.de_RotateMasterEncryptionKeyCommand = de_RotateMasterEncryptionKeyCommand;
|
|
12578
|
+
const de_RotateWorkspaceEncryptionKeyCommand = async (output, context) => {
|
|
12579
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12580
|
+
return de_CommandError(output, context);
|
|
12581
|
+
}
|
|
12582
|
+
const contents = (0, smithy_client_1.map)({
|
|
12583
|
+
$metadata: deserializeMetadata(output),
|
|
12584
|
+
});
|
|
12585
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
12586
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
12587
|
+
'total_secrets_re_encrypted': smithy_client_1.expectLong,
|
|
12588
|
+
});
|
|
12589
|
+
Object.assign(contents, doc);
|
|
12590
|
+
return contents;
|
|
12591
|
+
};
|
|
12592
|
+
Aws_restJson1.de_RotateWorkspaceEncryptionKeyCommand = de_RotateWorkspaceEncryptionKeyCommand;
|
|
12355
12593
|
const de_TestCommand = async (output, context) => {
|
|
12356
12594
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12357
12595
|
return de_CommandError(output, context);
|
|
@@ -12563,6 +12801,27 @@ function requireAws_restJson1 () {
|
|
|
12563
12801
|
return contents;
|
|
12564
12802
|
};
|
|
12565
12803
|
Aws_restJson1.de_UpdateOverridesExperimentCommand = de_UpdateOverridesExperimentCommand;
|
|
12804
|
+
const de_UpdateSecretCommand = async (output, context) => {
|
|
12805
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12806
|
+
return de_CommandError(output, context);
|
|
12807
|
+
}
|
|
12808
|
+
const contents = (0, smithy_client_1.map)({
|
|
12809
|
+
$metadata: deserializeMetadata(output),
|
|
12810
|
+
});
|
|
12811
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
12812
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
12813
|
+
'change_reason': smithy_client_1.expectString,
|
|
12814
|
+
'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
12815
|
+
'created_by': smithy_client_1.expectString,
|
|
12816
|
+
'description': smithy_client_1.expectString,
|
|
12817
|
+
'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
12818
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
12819
|
+
'name': smithy_client_1.expectString,
|
|
12820
|
+
});
|
|
12821
|
+
Object.assign(contents, doc);
|
|
12822
|
+
return contents;
|
|
12823
|
+
};
|
|
12824
|
+
Aws_restJson1.de_UpdateSecretCommand = de_UpdateSecretCommand;
|
|
12566
12825
|
const de_UpdateTypeTemplatesCommand = async (output, context) => {
|
|
12567
12826
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12568
12827
|
return de_CommandError(output, context);
|
|
@@ -13194,6 +13453,23 @@ function requireAws_restJson1 () {
|
|
|
13194
13453
|
return acc;
|
|
13195
13454
|
}, {});
|
|
13196
13455
|
};
|
|
13456
|
+
const de_SecretList = (output, context) => {
|
|
13457
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
13458
|
+
return de_SecretResponse(entry);
|
|
13459
|
+
});
|
|
13460
|
+
return retVal;
|
|
13461
|
+
};
|
|
13462
|
+
const de_SecretResponse = (output, context) => {
|
|
13463
|
+
return (0, smithy_client_1.take)(output, {
|
|
13464
|
+
'change_reason': smithy_client_1.expectString,
|
|
13465
|
+
'created_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
13466
|
+
'created_by': smithy_client_1.expectString,
|
|
13467
|
+
'description': smithy_client_1.expectString,
|
|
13468
|
+
'last_modified_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
13469
|
+
'last_modified_by': smithy_client_1.expectString,
|
|
13470
|
+
'name': smithy_client_1.expectString,
|
|
13471
|
+
});
|
|
13472
|
+
};
|
|
13197
13473
|
const de_TypeTemplatesList = (output, context) => {
|
|
13198
13474
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
13199
13475
|
return de_TypeTemplatesResponse(entry);
|
|
@@ -13372,7 +13648,7 @@ function requireAddMembersToGroupCommand () {
|
|
|
13372
13648
|
exports.AddMembersToGroupCommand = exports.$Command = void 0;
|
|
13373
13649
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13374
13650
|
const middleware_serde_1 = require$$1;
|
|
13375
|
-
const smithy_client_1 = require$$
|
|
13651
|
+
const smithy_client_1 = require$$84;
|
|
13376
13652
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13377
13653
|
class AddMembersToGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
13378
13654
|
.m(function (Command, cs, config, o) {
|
|
@@ -13404,7 +13680,7 @@ function requireApplicableVariantsCommand () {
|
|
|
13404
13680
|
exports.ApplicableVariantsCommand = exports.$Command = void 0;
|
|
13405
13681
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13406
13682
|
const middleware_serde_1 = require$$1;
|
|
13407
|
-
const smithy_client_1 = require$$
|
|
13683
|
+
const smithy_client_1 = require$$84;
|
|
13408
13684
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13409
13685
|
class ApplicableVariantsCommand extends smithy_client_1.Command.classBuilder()
|
|
13410
13686
|
.m(function (Command, cs, config, o) {
|
|
@@ -13436,7 +13712,7 @@ function requireBulkOperationCommand () {
|
|
|
13436
13712
|
exports.BulkOperationCommand = exports.$Command = void 0;
|
|
13437
13713
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13438
13714
|
const middleware_serde_1 = require$$1;
|
|
13439
|
-
const smithy_client_1 = require$$
|
|
13715
|
+
const smithy_client_1 = require$$84;
|
|
13440
13716
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13441
13717
|
class BulkOperationCommand extends smithy_client_1.Command.classBuilder()
|
|
13442
13718
|
.m(function (Command, cs, config, o) {
|
|
@@ -13468,7 +13744,7 @@ function requireConcludeExperimentCommand () {
|
|
|
13468
13744
|
exports.ConcludeExperimentCommand = exports.$Command = void 0;
|
|
13469
13745
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13470
13746
|
const middleware_serde_1 = require$$1;
|
|
13471
|
-
const smithy_client_1 = require$$
|
|
13747
|
+
const smithy_client_1 = require$$84;
|
|
13472
13748
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13473
13749
|
class ConcludeExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
13474
13750
|
.m(function (Command, cs, config, o) {
|
|
@@ -13500,7 +13776,7 @@ function requireCreateContextCommand () {
|
|
|
13500
13776
|
exports.CreateContextCommand = exports.$Command = void 0;
|
|
13501
13777
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13502
13778
|
const middleware_serde_1 = require$$1;
|
|
13503
|
-
const smithy_client_1 = require$$
|
|
13779
|
+
const smithy_client_1 = require$$84;
|
|
13504
13780
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13505
13781
|
class CreateContextCommand extends smithy_client_1.Command.classBuilder()
|
|
13506
13782
|
.m(function (Command, cs, config, o) {
|
|
@@ -13532,7 +13808,7 @@ function requireCreateDefaultConfigCommand () {
|
|
|
13532
13808
|
exports.CreateDefaultConfigCommand = exports.$Command = void 0;
|
|
13533
13809
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13534
13810
|
const middleware_serde_1 = require$$1;
|
|
13535
|
-
const smithy_client_1 = require$$
|
|
13811
|
+
const smithy_client_1 = require$$84;
|
|
13536
13812
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13537
13813
|
class CreateDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
13538
13814
|
.m(function (Command, cs, config, o) {
|
|
@@ -13564,7 +13840,7 @@ function requireCreateDimensionCommand () {
|
|
|
13564
13840
|
exports.CreateDimensionCommand = exports.$Command = void 0;
|
|
13565
13841
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13566
13842
|
const middleware_serde_1 = require$$1;
|
|
13567
|
-
const smithy_client_1 = require$$
|
|
13843
|
+
const smithy_client_1 = require$$84;
|
|
13568
13844
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13569
13845
|
class CreateDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
13570
13846
|
.m(function (Command, cs, config, o) {
|
|
@@ -13596,7 +13872,7 @@ function requireCreateExperimentCommand () {
|
|
|
13596
13872
|
exports.CreateExperimentCommand = exports.$Command = void 0;
|
|
13597
13873
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13598
13874
|
const middleware_serde_1 = require$$1;
|
|
13599
|
-
const smithy_client_1 = require$$
|
|
13875
|
+
const smithy_client_1 = require$$84;
|
|
13600
13876
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13601
13877
|
class CreateExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
13602
13878
|
.m(function (Command, cs, config, o) {
|
|
@@ -13628,7 +13904,7 @@ function requireCreateExperimentGroupCommand () {
|
|
|
13628
13904
|
exports.CreateExperimentGroupCommand = exports.$Command = void 0;
|
|
13629
13905
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13630
13906
|
const middleware_serde_1 = require$$1;
|
|
13631
|
-
const smithy_client_1 = require$$
|
|
13907
|
+
const smithy_client_1 = require$$84;
|
|
13632
13908
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13633
13909
|
class CreateExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
13634
13910
|
.m(function (Command, cs, config, o) {
|
|
@@ -13660,7 +13936,7 @@ function requireCreateFunctionCommand () {
|
|
|
13660
13936
|
exports.CreateFunctionCommand = exports.$Command = void 0;
|
|
13661
13937
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13662
13938
|
const middleware_serde_1 = require$$1;
|
|
13663
|
-
const smithy_client_1 = require$$
|
|
13939
|
+
const smithy_client_1 = require$$84;
|
|
13664
13940
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13665
13941
|
class CreateFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
13666
13942
|
.m(function (Command, cs, config, o) {
|
|
@@ -13692,7 +13968,7 @@ function requireCreateOrganisationCommand () {
|
|
|
13692
13968
|
exports.CreateOrganisationCommand = exports.$Command = void 0;
|
|
13693
13969
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13694
13970
|
const middleware_serde_1 = require$$1;
|
|
13695
|
-
const smithy_client_1 = require$$
|
|
13971
|
+
const smithy_client_1 = require$$84;
|
|
13696
13972
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13697
13973
|
class CreateOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
13698
13974
|
.m(function (Command, cs, config, o) {
|
|
@@ -13712,6 +13988,38 @@ function requireCreateOrganisationCommand () {
|
|
|
13712
13988
|
return CreateOrganisationCommand;
|
|
13713
13989
|
}
|
|
13714
13990
|
|
|
13991
|
+
var CreateSecretCommand = {};
|
|
13992
|
+
|
|
13993
|
+
var hasRequiredCreateSecretCommand;
|
|
13994
|
+
|
|
13995
|
+
function requireCreateSecretCommand () {
|
|
13996
|
+
if (hasRequiredCreateSecretCommand) return CreateSecretCommand;
|
|
13997
|
+
hasRequiredCreateSecretCommand = 1;
|
|
13998
|
+
(function (exports) {
|
|
13999
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14000
|
+
exports.CreateSecretCommand = exports.$Command = void 0;
|
|
14001
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14002
|
+
const middleware_serde_1 = require$$1;
|
|
14003
|
+
const smithy_client_1 = require$$84;
|
|
14004
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14005
|
+
class CreateSecretCommand extends smithy_client_1.Command.classBuilder()
|
|
14006
|
+
.m(function (Command, cs, config, o) {
|
|
14007
|
+
return [
|
|
14008
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14009
|
+
];
|
|
14010
|
+
})
|
|
14011
|
+
.s("Superposition", "CreateSecret", {})
|
|
14012
|
+
.n("SuperpositionClient", "CreateSecretCommand")
|
|
14013
|
+
.f(void 0, void 0)
|
|
14014
|
+
.ser(Aws_restJson1_1.se_CreateSecretCommand)
|
|
14015
|
+
.de(Aws_restJson1_1.de_CreateSecretCommand)
|
|
14016
|
+
.build() {
|
|
14017
|
+
}
|
|
14018
|
+
exports.CreateSecretCommand = CreateSecretCommand;
|
|
14019
|
+
} (CreateSecretCommand));
|
|
14020
|
+
return CreateSecretCommand;
|
|
14021
|
+
}
|
|
14022
|
+
|
|
13715
14023
|
var CreateTypeTemplatesCommand = {};
|
|
13716
14024
|
|
|
13717
14025
|
var hasRequiredCreateTypeTemplatesCommand;
|
|
@@ -13724,7 +14032,7 @@ function requireCreateTypeTemplatesCommand () {
|
|
|
13724
14032
|
exports.CreateTypeTemplatesCommand = exports.$Command = void 0;
|
|
13725
14033
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13726
14034
|
const middleware_serde_1 = require$$1;
|
|
13727
|
-
const smithy_client_1 = require$$
|
|
14035
|
+
const smithy_client_1 = require$$84;
|
|
13728
14036
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13729
14037
|
class CreateTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
|
|
13730
14038
|
.m(function (Command, cs, config, o) {
|
|
@@ -13756,7 +14064,7 @@ function requireCreateVariableCommand () {
|
|
|
13756
14064
|
exports.CreateVariableCommand = exports.$Command = void 0;
|
|
13757
14065
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13758
14066
|
const middleware_serde_1 = require$$1;
|
|
13759
|
-
const smithy_client_1 = require$$
|
|
14067
|
+
const smithy_client_1 = require$$84;
|
|
13760
14068
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13761
14069
|
class CreateVariableCommand extends smithy_client_1.Command.classBuilder()
|
|
13762
14070
|
.m(function (Command, cs, config, o) {
|
|
@@ -13788,7 +14096,7 @@ function requireCreateWebhookCommand () {
|
|
|
13788
14096
|
exports.CreateWebhookCommand = exports.$Command = void 0;
|
|
13789
14097
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13790
14098
|
const middleware_serde_1 = require$$1;
|
|
13791
|
-
const smithy_client_1 = require$$
|
|
14099
|
+
const smithy_client_1 = require$$84;
|
|
13792
14100
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13793
14101
|
class CreateWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
13794
14102
|
.m(function (Command, cs, config, o) {
|
|
@@ -13820,7 +14128,7 @@ function requireCreateWorkspaceCommand () {
|
|
|
13820
14128
|
exports.CreateWorkspaceCommand = exports.$Command = void 0;
|
|
13821
14129
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13822
14130
|
const middleware_serde_1 = require$$1;
|
|
13823
|
-
const smithy_client_1 = require$$
|
|
14131
|
+
const smithy_client_1 = require$$84;
|
|
13824
14132
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13825
14133
|
class CreateWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
13826
14134
|
.m(function (Command, cs, config, o) {
|
|
@@ -13852,7 +14160,7 @@ function requireDeleteContextCommand () {
|
|
|
13852
14160
|
exports.DeleteContextCommand = exports.$Command = void 0;
|
|
13853
14161
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13854
14162
|
const middleware_serde_1 = require$$1;
|
|
13855
|
-
const smithy_client_1 = require$$
|
|
14163
|
+
const smithy_client_1 = require$$84;
|
|
13856
14164
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13857
14165
|
class DeleteContextCommand extends smithy_client_1.Command.classBuilder()
|
|
13858
14166
|
.m(function (Command, cs, config, o) {
|
|
@@ -13884,7 +14192,7 @@ function requireDeleteDefaultConfigCommand () {
|
|
|
13884
14192
|
exports.DeleteDefaultConfigCommand = exports.$Command = void 0;
|
|
13885
14193
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13886
14194
|
const middleware_serde_1 = require$$1;
|
|
13887
|
-
const smithy_client_1 = require$$
|
|
14195
|
+
const smithy_client_1 = require$$84;
|
|
13888
14196
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13889
14197
|
class DeleteDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
13890
14198
|
.m(function (Command, cs, config, o) {
|
|
@@ -13916,7 +14224,7 @@ function requireDeleteDimensionCommand () {
|
|
|
13916
14224
|
exports.DeleteDimensionCommand = exports.$Command = void 0;
|
|
13917
14225
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13918
14226
|
const middleware_serde_1 = require$$1;
|
|
13919
|
-
const smithy_client_1 = require$$
|
|
14227
|
+
const smithy_client_1 = require$$84;
|
|
13920
14228
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13921
14229
|
class DeleteDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
13922
14230
|
.m(function (Command, cs, config, o) {
|
|
@@ -13948,7 +14256,7 @@ function requireDeleteExperimentGroupCommand () {
|
|
|
13948
14256
|
exports.DeleteExperimentGroupCommand = exports.$Command = void 0;
|
|
13949
14257
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13950
14258
|
const middleware_serde_1 = require$$1;
|
|
13951
|
-
const smithy_client_1 = require$$
|
|
14259
|
+
const smithy_client_1 = require$$84;
|
|
13952
14260
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13953
14261
|
class DeleteExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
13954
14262
|
.m(function (Command, cs, config, o) {
|
|
@@ -13980,7 +14288,7 @@ function requireDeleteFunctionCommand () {
|
|
|
13980
14288
|
exports.DeleteFunctionCommand = exports.$Command = void 0;
|
|
13981
14289
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
13982
14290
|
const middleware_serde_1 = require$$1;
|
|
13983
|
-
const smithy_client_1 = require$$
|
|
14291
|
+
const smithy_client_1 = require$$84;
|
|
13984
14292
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
13985
14293
|
class DeleteFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
13986
14294
|
.m(function (Command, cs, config, o) {
|
|
@@ -14000,6 +14308,38 @@ function requireDeleteFunctionCommand () {
|
|
|
14000
14308
|
return DeleteFunctionCommand;
|
|
14001
14309
|
}
|
|
14002
14310
|
|
|
14311
|
+
var DeleteSecretCommand = {};
|
|
14312
|
+
|
|
14313
|
+
var hasRequiredDeleteSecretCommand;
|
|
14314
|
+
|
|
14315
|
+
function requireDeleteSecretCommand () {
|
|
14316
|
+
if (hasRequiredDeleteSecretCommand) return DeleteSecretCommand;
|
|
14317
|
+
hasRequiredDeleteSecretCommand = 1;
|
|
14318
|
+
(function (exports) {
|
|
14319
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14320
|
+
exports.DeleteSecretCommand = exports.$Command = void 0;
|
|
14321
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14322
|
+
const middleware_serde_1 = require$$1;
|
|
14323
|
+
const smithy_client_1 = require$$84;
|
|
14324
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14325
|
+
class DeleteSecretCommand extends smithy_client_1.Command.classBuilder()
|
|
14326
|
+
.m(function (Command, cs, config, o) {
|
|
14327
|
+
return [
|
|
14328
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14329
|
+
];
|
|
14330
|
+
})
|
|
14331
|
+
.s("Superposition", "DeleteSecret", {})
|
|
14332
|
+
.n("SuperpositionClient", "DeleteSecretCommand")
|
|
14333
|
+
.f(void 0, void 0)
|
|
14334
|
+
.ser(Aws_restJson1_1.se_DeleteSecretCommand)
|
|
14335
|
+
.de(Aws_restJson1_1.de_DeleteSecretCommand)
|
|
14336
|
+
.build() {
|
|
14337
|
+
}
|
|
14338
|
+
exports.DeleteSecretCommand = DeleteSecretCommand;
|
|
14339
|
+
} (DeleteSecretCommand));
|
|
14340
|
+
return DeleteSecretCommand;
|
|
14341
|
+
}
|
|
14342
|
+
|
|
14003
14343
|
var DeleteTypeTemplatesCommand = {};
|
|
14004
14344
|
|
|
14005
14345
|
var hasRequiredDeleteTypeTemplatesCommand;
|
|
@@ -14012,7 +14352,7 @@ function requireDeleteTypeTemplatesCommand () {
|
|
|
14012
14352
|
exports.DeleteTypeTemplatesCommand = exports.$Command = void 0;
|
|
14013
14353
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14014
14354
|
const middleware_serde_1 = require$$1;
|
|
14015
|
-
const smithy_client_1 = require$$
|
|
14355
|
+
const smithy_client_1 = require$$84;
|
|
14016
14356
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14017
14357
|
class DeleteTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
|
|
14018
14358
|
.m(function (Command, cs, config, o) {
|
|
@@ -14044,7 +14384,7 @@ function requireDeleteVariableCommand () {
|
|
|
14044
14384
|
exports.DeleteVariableCommand = exports.$Command = void 0;
|
|
14045
14385
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14046
14386
|
const middleware_serde_1 = require$$1;
|
|
14047
|
-
const smithy_client_1 = require$$
|
|
14387
|
+
const smithy_client_1 = require$$84;
|
|
14048
14388
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14049
14389
|
class DeleteVariableCommand extends smithy_client_1.Command.classBuilder()
|
|
14050
14390
|
.m(function (Command, cs, config, o) {
|
|
@@ -14076,7 +14416,7 @@ function requireDeleteWebhookCommand () {
|
|
|
14076
14416
|
exports.DeleteWebhookCommand = exports.$Command = void 0;
|
|
14077
14417
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14078
14418
|
const middleware_serde_1 = require$$1;
|
|
14079
|
-
const smithy_client_1 = require$$
|
|
14419
|
+
const smithy_client_1 = require$$84;
|
|
14080
14420
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14081
14421
|
class DeleteWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
14082
14422
|
.m(function (Command, cs, config, o) {
|
|
@@ -14108,7 +14448,7 @@ function requireDiscardExperimentCommand () {
|
|
|
14108
14448
|
exports.DiscardExperimentCommand = exports.$Command = void 0;
|
|
14109
14449
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14110
14450
|
const middleware_serde_1 = require$$1;
|
|
14111
|
-
const smithy_client_1 = require$$
|
|
14451
|
+
const smithy_client_1 = require$$84;
|
|
14112
14452
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14113
14453
|
class DiscardExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14114
14454
|
.m(function (Command, cs, config, o) {
|
|
@@ -14140,7 +14480,7 @@ function requireGetConfigCommand () {
|
|
|
14140
14480
|
exports.GetConfigCommand = exports.$Command = void 0;
|
|
14141
14481
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14142
14482
|
const middleware_serde_1 = require$$1;
|
|
14143
|
-
const smithy_client_1 = require$$
|
|
14483
|
+
const smithy_client_1 = require$$84;
|
|
14144
14484
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14145
14485
|
class GetConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
14146
14486
|
.m(function (Command, cs, config, o) {
|
|
@@ -14172,7 +14512,7 @@ function requireGetConfigFastCommand () {
|
|
|
14172
14512
|
exports.GetConfigFastCommand = exports.$Command = void 0;
|
|
14173
14513
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14174
14514
|
const middleware_serde_1 = require$$1;
|
|
14175
|
-
const smithy_client_1 = require$$
|
|
14515
|
+
const smithy_client_1 = require$$84;
|
|
14176
14516
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14177
14517
|
class GetConfigFastCommand extends smithy_client_1.Command.classBuilder()
|
|
14178
14518
|
.m(function (Command, cs, config, o) {
|
|
@@ -14204,7 +14544,7 @@ function requireGetContextCommand () {
|
|
|
14204
14544
|
exports.GetContextCommand = exports.$Command = void 0;
|
|
14205
14545
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14206
14546
|
const middleware_serde_1 = require$$1;
|
|
14207
|
-
const smithy_client_1 = require$$
|
|
14547
|
+
const smithy_client_1 = require$$84;
|
|
14208
14548
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14209
14549
|
class GetContextCommand extends smithy_client_1.Command.classBuilder()
|
|
14210
14550
|
.m(function (Command, cs, config, o) {
|
|
@@ -14236,7 +14576,7 @@ function requireGetContextFromConditionCommand () {
|
|
|
14236
14576
|
exports.GetContextFromConditionCommand = exports.$Command = void 0;
|
|
14237
14577
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14238
14578
|
const middleware_serde_1 = require$$1;
|
|
14239
|
-
const smithy_client_1 = require$$
|
|
14579
|
+
const smithy_client_1 = require$$84;
|
|
14240
14580
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14241
14581
|
class GetContextFromConditionCommand extends smithy_client_1.Command.classBuilder()
|
|
14242
14582
|
.m(function (Command, cs, config, o) {
|
|
@@ -14268,7 +14608,7 @@ function requireGetDefaultConfigCommand () {
|
|
|
14268
14608
|
exports.GetDefaultConfigCommand = exports.$Command = void 0;
|
|
14269
14609
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14270
14610
|
const middleware_serde_1 = require$$1;
|
|
14271
|
-
const smithy_client_1 = require$$
|
|
14611
|
+
const smithy_client_1 = require$$84;
|
|
14272
14612
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14273
14613
|
class GetDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
14274
14614
|
.m(function (Command, cs, config, o) {
|
|
@@ -14300,7 +14640,7 @@ function requireGetDimensionCommand () {
|
|
|
14300
14640
|
exports.GetDimensionCommand = exports.$Command = void 0;
|
|
14301
14641
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14302
14642
|
const middleware_serde_1 = require$$1;
|
|
14303
|
-
const smithy_client_1 = require$$
|
|
14643
|
+
const smithy_client_1 = require$$84;
|
|
14304
14644
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14305
14645
|
class GetDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
14306
14646
|
.m(function (Command, cs, config, o) {
|
|
@@ -14332,7 +14672,7 @@ function requireGetExperimentCommand () {
|
|
|
14332
14672
|
exports.GetExperimentCommand = exports.$Command = void 0;
|
|
14333
14673
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14334
14674
|
const middleware_serde_1 = require$$1;
|
|
14335
|
-
const smithy_client_1 = require$$
|
|
14675
|
+
const smithy_client_1 = require$$84;
|
|
14336
14676
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14337
14677
|
class GetExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14338
14678
|
.m(function (Command, cs, config, o) {
|
|
@@ -14364,7 +14704,7 @@ function requireGetExperimentGroupCommand () {
|
|
|
14364
14704
|
exports.GetExperimentGroupCommand = exports.$Command = void 0;
|
|
14365
14705
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14366
14706
|
const middleware_serde_1 = require$$1;
|
|
14367
|
-
const smithy_client_1 = require$$
|
|
14707
|
+
const smithy_client_1 = require$$84;
|
|
14368
14708
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14369
14709
|
class GetExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
14370
14710
|
.m(function (Command, cs, config, o) {
|
|
@@ -14396,7 +14736,7 @@ function requireGetFunctionCommand () {
|
|
|
14396
14736
|
exports.GetFunctionCommand = exports.$Command = void 0;
|
|
14397
14737
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14398
14738
|
const middleware_serde_1 = require$$1;
|
|
14399
|
-
const smithy_client_1 = require$$
|
|
14739
|
+
const smithy_client_1 = require$$84;
|
|
14400
14740
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14401
14741
|
class GetFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
14402
14742
|
.m(function (Command, cs, config, o) {
|
|
@@ -14428,7 +14768,7 @@ function requireGetOrganisationCommand () {
|
|
|
14428
14768
|
exports.GetOrganisationCommand = exports.$Command = void 0;
|
|
14429
14769
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14430
14770
|
const middleware_serde_1 = require$$1;
|
|
14431
|
-
const smithy_client_1 = require$$
|
|
14771
|
+
const smithy_client_1 = require$$84;
|
|
14432
14772
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14433
14773
|
class GetOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
14434
14774
|
.m(function (Command, cs, config, o) {
|
|
@@ -14460,7 +14800,7 @@ function requireGetResolvedConfigCommand () {
|
|
|
14460
14800
|
exports.GetResolvedConfigCommand = exports.$Command = void 0;
|
|
14461
14801
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14462
14802
|
const middleware_serde_1 = require$$1;
|
|
14463
|
-
const smithy_client_1 = require$$
|
|
14803
|
+
const smithy_client_1 = require$$84;
|
|
14464
14804
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14465
14805
|
class GetResolvedConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
14466
14806
|
.m(function (Command, cs, config, o) {
|
|
@@ -14492,7 +14832,7 @@ function requireGetResolvedConfigWithIdentifierCommand () {
|
|
|
14492
14832
|
exports.GetResolvedConfigWithIdentifierCommand = exports.$Command = void 0;
|
|
14493
14833
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14494
14834
|
const middleware_serde_1 = require$$1;
|
|
14495
|
-
const smithy_client_1 = require$$
|
|
14835
|
+
const smithy_client_1 = require$$84;
|
|
14496
14836
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14497
14837
|
class GetResolvedConfigWithIdentifierCommand extends smithy_client_1.Command.classBuilder()
|
|
14498
14838
|
.m(function (Command, cs, config, o) {
|
|
@@ -14512,6 +14852,38 @@ function requireGetResolvedConfigWithIdentifierCommand () {
|
|
|
14512
14852
|
return GetResolvedConfigWithIdentifierCommand;
|
|
14513
14853
|
}
|
|
14514
14854
|
|
|
14855
|
+
var GetSecretCommand = {};
|
|
14856
|
+
|
|
14857
|
+
var hasRequiredGetSecretCommand;
|
|
14858
|
+
|
|
14859
|
+
function requireGetSecretCommand () {
|
|
14860
|
+
if (hasRequiredGetSecretCommand) return GetSecretCommand;
|
|
14861
|
+
hasRequiredGetSecretCommand = 1;
|
|
14862
|
+
(function (exports) {
|
|
14863
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14864
|
+
exports.GetSecretCommand = exports.$Command = void 0;
|
|
14865
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14866
|
+
const middleware_serde_1 = require$$1;
|
|
14867
|
+
const smithy_client_1 = require$$84;
|
|
14868
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14869
|
+
class GetSecretCommand extends smithy_client_1.Command.classBuilder()
|
|
14870
|
+
.m(function (Command, cs, config, o) {
|
|
14871
|
+
return [
|
|
14872
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14873
|
+
];
|
|
14874
|
+
})
|
|
14875
|
+
.s("Superposition", "GetSecret", {})
|
|
14876
|
+
.n("SuperpositionClient", "GetSecretCommand")
|
|
14877
|
+
.f(void 0, void 0)
|
|
14878
|
+
.ser(Aws_restJson1_1.se_GetSecretCommand)
|
|
14879
|
+
.de(Aws_restJson1_1.de_GetSecretCommand)
|
|
14880
|
+
.build() {
|
|
14881
|
+
}
|
|
14882
|
+
exports.GetSecretCommand = GetSecretCommand;
|
|
14883
|
+
} (GetSecretCommand));
|
|
14884
|
+
return GetSecretCommand;
|
|
14885
|
+
}
|
|
14886
|
+
|
|
14515
14887
|
var GetTypeTemplateCommand = {};
|
|
14516
14888
|
|
|
14517
14889
|
var hasRequiredGetTypeTemplateCommand;
|
|
@@ -14524,7 +14896,7 @@ function requireGetTypeTemplateCommand () {
|
|
|
14524
14896
|
exports.GetTypeTemplateCommand = exports.$Command = void 0;
|
|
14525
14897
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14526
14898
|
const middleware_serde_1 = require$$1;
|
|
14527
|
-
const smithy_client_1 = require$$
|
|
14899
|
+
const smithy_client_1 = require$$84;
|
|
14528
14900
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14529
14901
|
class GetTypeTemplateCommand extends smithy_client_1.Command.classBuilder()
|
|
14530
14902
|
.m(function (Command, cs, config, o) {
|
|
@@ -14556,7 +14928,7 @@ function requireGetTypeTemplatesListCommand () {
|
|
|
14556
14928
|
exports.GetTypeTemplatesListCommand = exports.$Command = void 0;
|
|
14557
14929
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14558
14930
|
const middleware_serde_1 = require$$1;
|
|
14559
|
-
const smithy_client_1 = require$$
|
|
14931
|
+
const smithy_client_1 = require$$84;
|
|
14560
14932
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14561
14933
|
class GetTypeTemplatesListCommand extends smithy_client_1.Command.classBuilder()
|
|
14562
14934
|
.m(function (Command, cs, config, o) {
|
|
@@ -14588,7 +14960,7 @@ function requireGetVariableCommand () {
|
|
|
14588
14960
|
exports.GetVariableCommand = exports.$Command = void 0;
|
|
14589
14961
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14590
14962
|
const middleware_serde_1 = require$$1;
|
|
14591
|
-
const smithy_client_1 = require$$
|
|
14963
|
+
const smithy_client_1 = require$$84;
|
|
14592
14964
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14593
14965
|
class GetVariableCommand extends smithy_client_1.Command.classBuilder()
|
|
14594
14966
|
.m(function (Command, cs, config, o) {
|
|
@@ -14620,7 +14992,7 @@ function requireGetVersionCommand () {
|
|
|
14620
14992
|
exports.GetVersionCommand = exports.$Command = void 0;
|
|
14621
14993
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14622
14994
|
const middleware_serde_1 = require$$1;
|
|
14623
|
-
const smithy_client_1 = require$$
|
|
14995
|
+
const smithy_client_1 = require$$84;
|
|
14624
14996
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14625
14997
|
class GetVersionCommand extends smithy_client_1.Command.classBuilder()
|
|
14626
14998
|
.m(function (Command, cs, config, o) {
|
|
@@ -14652,7 +15024,7 @@ function requireGetWebhookByEventCommand () {
|
|
|
14652
15024
|
exports.GetWebhookByEventCommand = exports.$Command = void 0;
|
|
14653
15025
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14654
15026
|
const middleware_serde_1 = require$$1;
|
|
14655
|
-
const smithy_client_1 = require$$
|
|
15027
|
+
const smithy_client_1 = require$$84;
|
|
14656
15028
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14657
15029
|
class GetWebhookByEventCommand extends smithy_client_1.Command.classBuilder()
|
|
14658
15030
|
.m(function (Command, cs, config, o) {
|
|
@@ -14684,7 +15056,7 @@ function requireGetWebhookCommand () {
|
|
|
14684
15056
|
exports.GetWebhookCommand = exports.$Command = void 0;
|
|
14685
15057
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14686
15058
|
const middleware_serde_1 = require$$1;
|
|
14687
|
-
const smithy_client_1 = require$$
|
|
15059
|
+
const smithy_client_1 = require$$84;
|
|
14688
15060
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14689
15061
|
class GetWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
14690
15062
|
.m(function (Command, cs, config, o) {
|
|
@@ -14716,7 +15088,7 @@ function requireGetWorkspaceCommand () {
|
|
|
14716
15088
|
exports.GetWorkspaceCommand = exports.$Command = void 0;
|
|
14717
15089
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14718
15090
|
const middleware_serde_1 = require$$1;
|
|
14719
|
-
const smithy_client_1 = require$$
|
|
15091
|
+
const smithy_client_1 = require$$84;
|
|
14720
15092
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14721
15093
|
class GetWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
14722
15094
|
.m(function (Command, cs, config, o) {
|
|
@@ -14748,7 +15120,7 @@ function requireListAuditLogsCommand () {
|
|
|
14748
15120
|
exports.ListAuditLogsCommand = exports.$Command = void 0;
|
|
14749
15121
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14750
15122
|
const middleware_serde_1 = require$$1;
|
|
14751
|
-
const smithy_client_1 = require$$
|
|
15123
|
+
const smithy_client_1 = require$$84;
|
|
14752
15124
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14753
15125
|
class ListAuditLogsCommand extends smithy_client_1.Command.classBuilder()
|
|
14754
15126
|
.m(function (Command, cs, config, o) {
|
|
@@ -14780,7 +15152,7 @@ function requireListContextsCommand () {
|
|
|
14780
15152
|
exports.ListContextsCommand = exports.$Command = void 0;
|
|
14781
15153
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14782
15154
|
const middleware_serde_1 = require$$1;
|
|
14783
|
-
const smithy_client_1 = require$$
|
|
15155
|
+
const smithy_client_1 = require$$84;
|
|
14784
15156
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14785
15157
|
class ListContextsCommand extends smithy_client_1.Command.classBuilder()
|
|
14786
15158
|
.m(function (Command, cs, config, o) {
|
|
@@ -14812,7 +15184,7 @@ function requireListDefaultConfigsCommand () {
|
|
|
14812
15184
|
exports.ListDefaultConfigsCommand = exports.$Command = void 0;
|
|
14813
15185
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14814
15186
|
const middleware_serde_1 = require$$1;
|
|
14815
|
-
const smithy_client_1 = require$$
|
|
15187
|
+
const smithy_client_1 = require$$84;
|
|
14816
15188
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14817
15189
|
class ListDefaultConfigsCommand extends smithy_client_1.Command.classBuilder()
|
|
14818
15190
|
.m(function (Command, cs, config, o) {
|
|
@@ -14844,7 +15216,7 @@ function requireListDimensionsCommand () {
|
|
|
14844
15216
|
exports.ListDimensionsCommand = exports.$Command = void 0;
|
|
14845
15217
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14846
15218
|
const middleware_serde_1 = require$$1;
|
|
14847
|
-
const smithy_client_1 = require$$
|
|
15219
|
+
const smithy_client_1 = require$$84;
|
|
14848
15220
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14849
15221
|
class ListDimensionsCommand extends smithy_client_1.Command.classBuilder()
|
|
14850
15222
|
.m(function (Command, cs, config, o) {
|
|
@@ -14876,7 +15248,7 @@ function requireListExperimentCommand () {
|
|
|
14876
15248
|
exports.ListExperimentCommand = exports.$Command = void 0;
|
|
14877
15249
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14878
15250
|
const middleware_serde_1 = require$$1;
|
|
14879
|
-
const smithy_client_1 = require$$
|
|
15251
|
+
const smithy_client_1 = require$$84;
|
|
14880
15252
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14881
15253
|
class ListExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
14882
15254
|
.m(function (Command, cs, config, o) {
|
|
@@ -14908,7 +15280,7 @@ function requireListExperimentGroupsCommand () {
|
|
|
14908
15280
|
exports.ListExperimentGroupsCommand = exports.$Command = void 0;
|
|
14909
15281
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14910
15282
|
const middleware_serde_1 = require$$1;
|
|
14911
|
-
const smithy_client_1 = require$$
|
|
15283
|
+
const smithy_client_1 = require$$84;
|
|
14912
15284
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14913
15285
|
class ListExperimentGroupsCommand extends smithy_client_1.Command.classBuilder()
|
|
14914
15286
|
.m(function (Command, cs, config, o) {
|
|
@@ -14940,7 +15312,7 @@ function requireListFunctionCommand () {
|
|
|
14940
15312
|
exports.ListFunctionCommand = exports.$Command = void 0;
|
|
14941
15313
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14942
15314
|
const middleware_serde_1 = require$$1;
|
|
14943
|
-
const smithy_client_1 = require$$
|
|
15315
|
+
const smithy_client_1 = require$$84;
|
|
14944
15316
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14945
15317
|
class ListFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
14946
15318
|
.m(function (Command, cs, config, o) {
|
|
@@ -14972,7 +15344,7 @@ function requireListOrganisationCommand () {
|
|
|
14972
15344
|
exports.ListOrganisationCommand = exports.$Command = void 0;
|
|
14973
15345
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
14974
15346
|
const middleware_serde_1 = require$$1;
|
|
14975
|
-
const smithy_client_1 = require$$
|
|
15347
|
+
const smithy_client_1 = require$$84;
|
|
14976
15348
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
14977
15349
|
class ListOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
14978
15350
|
.m(function (Command, cs, config, o) {
|
|
@@ -14992,6 +15364,38 @@ function requireListOrganisationCommand () {
|
|
|
14992
15364
|
return ListOrganisationCommand;
|
|
14993
15365
|
}
|
|
14994
15366
|
|
|
15367
|
+
var ListSecretsCommand = {};
|
|
15368
|
+
|
|
15369
|
+
var hasRequiredListSecretsCommand;
|
|
15370
|
+
|
|
15371
|
+
function requireListSecretsCommand () {
|
|
15372
|
+
if (hasRequiredListSecretsCommand) return ListSecretsCommand;
|
|
15373
|
+
hasRequiredListSecretsCommand = 1;
|
|
15374
|
+
(function (exports) {
|
|
15375
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15376
|
+
exports.ListSecretsCommand = exports.$Command = void 0;
|
|
15377
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15378
|
+
const middleware_serde_1 = require$$1;
|
|
15379
|
+
const smithy_client_1 = require$$84;
|
|
15380
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15381
|
+
class ListSecretsCommand extends smithy_client_1.Command.classBuilder()
|
|
15382
|
+
.m(function (Command, cs, config, o) {
|
|
15383
|
+
return [
|
|
15384
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
15385
|
+
];
|
|
15386
|
+
})
|
|
15387
|
+
.s("Superposition", "ListSecrets", {})
|
|
15388
|
+
.n("SuperpositionClient", "ListSecretsCommand")
|
|
15389
|
+
.f(void 0, void 0)
|
|
15390
|
+
.ser(Aws_restJson1_1.se_ListSecretsCommand)
|
|
15391
|
+
.de(Aws_restJson1_1.de_ListSecretsCommand)
|
|
15392
|
+
.build() {
|
|
15393
|
+
}
|
|
15394
|
+
exports.ListSecretsCommand = ListSecretsCommand;
|
|
15395
|
+
} (ListSecretsCommand));
|
|
15396
|
+
return ListSecretsCommand;
|
|
15397
|
+
}
|
|
15398
|
+
|
|
14995
15399
|
var ListVariablesCommand = {};
|
|
14996
15400
|
|
|
14997
15401
|
var hasRequiredListVariablesCommand;
|
|
@@ -15004,7 +15408,7 @@ function requireListVariablesCommand () {
|
|
|
15004
15408
|
exports.ListVariablesCommand = exports.$Command = void 0;
|
|
15005
15409
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15006
15410
|
const middleware_serde_1 = require$$1;
|
|
15007
|
-
const smithy_client_1 = require$$
|
|
15411
|
+
const smithy_client_1 = require$$84;
|
|
15008
15412
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15009
15413
|
class ListVariablesCommand extends smithy_client_1.Command.classBuilder()
|
|
15010
15414
|
.m(function (Command, cs, config, o) {
|
|
@@ -15036,7 +15440,7 @@ function requireListVersionsCommand () {
|
|
|
15036
15440
|
exports.ListVersionsCommand = exports.$Command = void 0;
|
|
15037
15441
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15038
15442
|
const middleware_serde_1 = require$$1;
|
|
15039
|
-
const smithy_client_1 = require$$
|
|
15443
|
+
const smithy_client_1 = require$$84;
|
|
15040
15444
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15041
15445
|
class ListVersionsCommand extends smithy_client_1.Command.classBuilder()
|
|
15042
15446
|
.m(function (Command, cs, config, o) {
|
|
@@ -15068,7 +15472,7 @@ function requireListWebhookCommand () {
|
|
|
15068
15472
|
exports.ListWebhookCommand = exports.$Command = void 0;
|
|
15069
15473
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15070
15474
|
const middleware_serde_1 = require$$1;
|
|
15071
|
-
const smithy_client_1 = require$$
|
|
15475
|
+
const smithy_client_1 = require$$84;
|
|
15072
15476
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15073
15477
|
class ListWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
15074
15478
|
.m(function (Command, cs, config, o) {
|
|
@@ -15100,7 +15504,7 @@ function requireListWorkspaceCommand () {
|
|
|
15100
15504
|
exports.ListWorkspaceCommand = exports.$Command = void 0;
|
|
15101
15505
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15102
15506
|
const middleware_serde_1 = require$$1;
|
|
15103
|
-
const smithy_client_1 = require$$
|
|
15507
|
+
const smithy_client_1 = require$$84;
|
|
15104
15508
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15105
15509
|
class ListWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
15106
15510
|
.m(function (Command, cs, config, o) {
|
|
@@ -15132,7 +15536,7 @@ function requireMigrateWorkspaceSchemaCommand () {
|
|
|
15132
15536
|
exports.MigrateWorkspaceSchemaCommand = exports.$Command = void 0;
|
|
15133
15537
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15134
15538
|
const middleware_serde_1 = require$$1;
|
|
15135
|
-
const smithy_client_1 = require$$
|
|
15539
|
+
const smithy_client_1 = require$$84;
|
|
15136
15540
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15137
15541
|
class MigrateWorkspaceSchemaCommand extends smithy_client_1.Command.classBuilder()
|
|
15138
15542
|
.m(function (Command, cs, config, o) {
|
|
@@ -15164,7 +15568,7 @@ function requireMoveContextCommand () {
|
|
|
15164
15568
|
exports.MoveContextCommand = exports.$Command = void 0;
|
|
15165
15569
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15166
15570
|
const middleware_serde_1 = require$$1;
|
|
15167
|
-
const smithy_client_1 = require$$
|
|
15571
|
+
const smithy_client_1 = require$$84;
|
|
15168
15572
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15169
15573
|
class MoveContextCommand extends smithy_client_1.Command.classBuilder()
|
|
15170
15574
|
.m(function (Command, cs, config, o) {
|
|
@@ -15196,7 +15600,7 @@ function requirePauseExperimentCommand () {
|
|
|
15196
15600
|
exports.PauseExperimentCommand = exports.$Command = void 0;
|
|
15197
15601
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15198
15602
|
const middleware_serde_1 = require$$1;
|
|
15199
|
-
const smithy_client_1 = require$$
|
|
15603
|
+
const smithy_client_1 = require$$84;
|
|
15200
15604
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15201
15605
|
class PauseExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
15202
15606
|
.m(function (Command, cs, config, o) {
|
|
@@ -15228,7 +15632,7 @@ function requirePublishCommand () {
|
|
|
15228
15632
|
exports.PublishCommand = exports.$Command = void 0;
|
|
15229
15633
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15230
15634
|
const middleware_serde_1 = require$$1;
|
|
15231
|
-
const smithy_client_1 = require$$
|
|
15635
|
+
const smithy_client_1 = require$$84;
|
|
15232
15636
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15233
15637
|
class PublishCommand extends smithy_client_1.Command.classBuilder()
|
|
15234
15638
|
.m(function (Command, cs, config, o) {
|
|
@@ -15260,7 +15664,7 @@ function requireRampExperimentCommand () {
|
|
|
15260
15664
|
exports.RampExperimentCommand = exports.$Command = void 0;
|
|
15261
15665
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15262
15666
|
const middleware_serde_1 = require$$1;
|
|
15263
|
-
const smithy_client_1 = require$$
|
|
15667
|
+
const smithy_client_1 = require$$84;
|
|
15264
15668
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15265
15669
|
class RampExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
15266
15670
|
.m(function (Command, cs, config, o) {
|
|
@@ -15292,7 +15696,7 @@ function requireRemoveMembersFromGroupCommand () {
|
|
|
15292
15696
|
exports.RemoveMembersFromGroupCommand = exports.$Command = void 0;
|
|
15293
15697
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15294
15698
|
const middleware_serde_1 = require$$1;
|
|
15295
|
-
const smithy_client_1 = require$$
|
|
15699
|
+
const smithy_client_1 = require$$84;
|
|
15296
15700
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15297
15701
|
class RemoveMembersFromGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
15298
15702
|
.m(function (Command, cs, config, o) {
|
|
@@ -15324,7 +15728,7 @@ function requireResumeExperimentCommand () {
|
|
|
15324
15728
|
exports.ResumeExperimentCommand = exports.$Command = void 0;
|
|
15325
15729
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15326
15730
|
const middleware_serde_1 = require$$1;
|
|
15327
|
-
const smithy_client_1 = require$$
|
|
15731
|
+
const smithy_client_1 = require$$84;
|
|
15328
15732
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15329
15733
|
class ResumeExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
15330
15734
|
.m(function (Command, cs, config, o) {
|
|
@@ -15344,6 +15748,70 @@ function requireResumeExperimentCommand () {
|
|
|
15344
15748
|
return ResumeExperimentCommand;
|
|
15345
15749
|
}
|
|
15346
15750
|
|
|
15751
|
+
var RotateMasterEncryptionKeyCommand = {};
|
|
15752
|
+
|
|
15753
|
+
var hasRequiredRotateMasterEncryptionKeyCommand;
|
|
15754
|
+
|
|
15755
|
+
function requireRotateMasterEncryptionKeyCommand () {
|
|
15756
|
+
if (hasRequiredRotateMasterEncryptionKeyCommand) return RotateMasterEncryptionKeyCommand;
|
|
15757
|
+
hasRequiredRotateMasterEncryptionKeyCommand = 1;
|
|
15758
|
+
(function (exports) {
|
|
15759
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15760
|
+
exports.RotateMasterEncryptionKeyCommand = exports.$Command = void 0;
|
|
15761
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15762
|
+
const middleware_serde_1 = require$$1;
|
|
15763
|
+
const smithy_client_1 = require$$84;
|
|
15764
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15765
|
+
class RotateMasterEncryptionKeyCommand extends smithy_client_1.Command.classBuilder()
|
|
15766
|
+
.m(function (Command, cs, config, o) {
|
|
15767
|
+
return [
|
|
15768
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
15769
|
+
];
|
|
15770
|
+
})
|
|
15771
|
+
.s("Superposition", "RotateMasterEncryptionKey", {})
|
|
15772
|
+
.n("SuperpositionClient", "RotateMasterEncryptionKeyCommand")
|
|
15773
|
+
.f(void 0, void 0)
|
|
15774
|
+
.ser(Aws_restJson1_1.se_RotateMasterEncryptionKeyCommand)
|
|
15775
|
+
.de(Aws_restJson1_1.de_RotateMasterEncryptionKeyCommand)
|
|
15776
|
+
.build() {
|
|
15777
|
+
}
|
|
15778
|
+
exports.RotateMasterEncryptionKeyCommand = RotateMasterEncryptionKeyCommand;
|
|
15779
|
+
} (RotateMasterEncryptionKeyCommand));
|
|
15780
|
+
return RotateMasterEncryptionKeyCommand;
|
|
15781
|
+
}
|
|
15782
|
+
|
|
15783
|
+
var RotateWorkspaceEncryptionKeyCommand = {};
|
|
15784
|
+
|
|
15785
|
+
var hasRequiredRotateWorkspaceEncryptionKeyCommand;
|
|
15786
|
+
|
|
15787
|
+
function requireRotateWorkspaceEncryptionKeyCommand () {
|
|
15788
|
+
if (hasRequiredRotateWorkspaceEncryptionKeyCommand) return RotateWorkspaceEncryptionKeyCommand;
|
|
15789
|
+
hasRequiredRotateWorkspaceEncryptionKeyCommand = 1;
|
|
15790
|
+
(function (exports) {
|
|
15791
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15792
|
+
exports.RotateWorkspaceEncryptionKeyCommand = exports.$Command = void 0;
|
|
15793
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15794
|
+
const middleware_serde_1 = require$$1;
|
|
15795
|
+
const smithy_client_1 = require$$84;
|
|
15796
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15797
|
+
class RotateWorkspaceEncryptionKeyCommand extends smithy_client_1.Command.classBuilder()
|
|
15798
|
+
.m(function (Command, cs, config, o) {
|
|
15799
|
+
return [
|
|
15800
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
15801
|
+
];
|
|
15802
|
+
})
|
|
15803
|
+
.s("Superposition", "RotateWorkspaceEncryptionKey", {})
|
|
15804
|
+
.n("SuperpositionClient", "RotateWorkspaceEncryptionKeyCommand")
|
|
15805
|
+
.f(void 0, void 0)
|
|
15806
|
+
.ser(Aws_restJson1_1.se_RotateWorkspaceEncryptionKeyCommand)
|
|
15807
|
+
.de(Aws_restJson1_1.de_RotateWorkspaceEncryptionKeyCommand)
|
|
15808
|
+
.build() {
|
|
15809
|
+
}
|
|
15810
|
+
exports.RotateWorkspaceEncryptionKeyCommand = RotateWorkspaceEncryptionKeyCommand;
|
|
15811
|
+
} (RotateWorkspaceEncryptionKeyCommand));
|
|
15812
|
+
return RotateWorkspaceEncryptionKeyCommand;
|
|
15813
|
+
}
|
|
15814
|
+
|
|
15347
15815
|
var TestCommand = {};
|
|
15348
15816
|
|
|
15349
15817
|
var hasRequiredTestCommand;
|
|
@@ -15356,7 +15824,7 @@ function requireTestCommand () {
|
|
|
15356
15824
|
exports.TestCommand = exports.$Command = void 0;
|
|
15357
15825
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15358
15826
|
const middleware_serde_1 = require$$1;
|
|
15359
|
-
const smithy_client_1 = require$$
|
|
15827
|
+
const smithy_client_1 = require$$84;
|
|
15360
15828
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15361
15829
|
class TestCommand extends smithy_client_1.Command.classBuilder()
|
|
15362
15830
|
.m(function (Command, cs, config, o) {
|
|
@@ -15388,7 +15856,7 @@ function requireUpdateDefaultConfigCommand () {
|
|
|
15388
15856
|
exports.UpdateDefaultConfigCommand = exports.$Command = void 0;
|
|
15389
15857
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15390
15858
|
const middleware_serde_1 = require$$1;
|
|
15391
|
-
const smithy_client_1 = require$$
|
|
15859
|
+
const smithy_client_1 = require$$84;
|
|
15392
15860
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15393
15861
|
class UpdateDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
|
|
15394
15862
|
.m(function (Command, cs, config, o) {
|
|
@@ -15420,7 +15888,7 @@ function requireUpdateDimensionCommand () {
|
|
|
15420
15888
|
exports.UpdateDimensionCommand = exports.$Command = void 0;
|
|
15421
15889
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15422
15890
|
const middleware_serde_1 = require$$1;
|
|
15423
|
-
const smithy_client_1 = require$$
|
|
15891
|
+
const smithy_client_1 = require$$84;
|
|
15424
15892
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15425
15893
|
class UpdateDimensionCommand extends smithy_client_1.Command.classBuilder()
|
|
15426
15894
|
.m(function (Command, cs, config, o) {
|
|
@@ -15452,7 +15920,7 @@ function requireUpdateExperimentGroupCommand () {
|
|
|
15452
15920
|
exports.UpdateExperimentGroupCommand = exports.$Command = void 0;
|
|
15453
15921
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15454
15922
|
const middleware_serde_1 = require$$1;
|
|
15455
|
-
const smithy_client_1 = require$$
|
|
15923
|
+
const smithy_client_1 = require$$84;
|
|
15456
15924
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15457
15925
|
class UpdateExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
|
|
15458
15926
|
.m(function (Command, cs, config, o) {
|
|
@@ -15484,7 +15952,7 @@ function requireUpdateFunctionCommand () {
|
|
|
15484
15952
|
exports.UpdateFunctionCommand = exports.$Command = void 0;
|
|
15485
15953
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15486
15954
|
const middleware_serde_1 = require$$1;
|
|
15487
|
-
const smithy_client_1 = require$$
|
|
15955
|
+
const smithy_client_1 = require$$84;
|
|
15488
15956
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15489
15957
|
class UpdateFunctionCommand extends smithy_client_1.Command.classBuilder()
|
|
15490
15958
|
.m(function (Command, cs, config, o) {
|
|
@@ -15516,7 +15984,7 @@ function requireUpdateOrganisationCommand () {
|
|
|
15516
15984
|
exports.UpdateOrganisationCommand = exports.$Command = void 0;
|
|
15517
15985
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15518
15986
|
const middleware_serde_1 = require$$1;
|
|
15519
|
-
const smithy_client_1 = require$$
|
|
15987
|
+
const smithy_client_1 = require$$84;
|
|
15520
15988
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15521
15989
|
class UpdateOrganisationCommand extends smithy_client_1.Command.classBuilder()
|
|
15522
15990
|
.m(function (Command, cs, config, o) {
|
|
@@ -15548,7 +16016,7 @@ function requireUpdateOverrideCommand () {
|
|
|
15548
16016
|
exports.UpdateOverrideCommand = exports.$Command = void 0;
|
|
15549
16017
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15550
16018
|
const middleware_serde_1 = require$$1;
|
|
15551
|
-
const smithy_client_1 = require$$
|
|
16019
|
+
const smithy_client_1 = require$$84;
|
|
15552
16020
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15553
16021
|
class UpdateOverrideCommand extends smithy_client_1.Command.classBuilder()
|
|
15554
16022
|
.m(function (Command, cs, config, o) {
|
|
@@ -15580,7 +16048,7 @@ function requireUpdateOverridesExperimentCommand () {
|
|
|
15580
16048
|
exports.UpdateOverridesExperimentCommand = exports.$Command = void 0;
|
|
15581
16049
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15582
16050
|
const middleware_serde_1 = require$$1;
|
|
15583
|
-
const smithy_client_1 = require$$
|
|
16051
|
+
const smithy_client_1 = require$$84;
|
|
15584
16052
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15585
16053
|
class UpdateOverridesExperimentCommand extends smithy_client_1.Command.classBuilder()
|
|
15586
16054
|
.m(function (Command, cs, config, o) {
|
|
@@ -15600,6 +16068,38 @@ function requireUpdateOverridesExperimentCommand () {
|
|
|
15600
16068
|
return UpdateOverridesExperimentCommand;
|
|
15601
16069
|
}
|
|
15602
16070
|
|
|
16071
|
+
var UpdateSecretCommand = {};
|
|
16072
|
+
|
|
16073
|
+
var hasRequiredUpdateSecretCommand;
|
|
16074
|
+
|
|
16075
|
+
function requireUpdateSecretCommand () {
|
|
16076
|
+
if (hasRequiredUpdateSecretCommand) return UpdateSecretCommand;
|
|
16077
|
+
hasRequiredUpdateSecretCommand = 1;
|
|
16078
|
+
(function (exports) {
|
|
16079
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16080
|
+
exports.UpdateSecretCommand = exports.$Command = void 0;
|
|
16081
|
+
const Aws_restJson1_1 = requireAws_restJson1();
|
|
16082
|
+
const middleware_serde_1 = require$$1;
|
|
16083
|
+
const smithy_client_1 = require$$84;
|
|
16084
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
16085
|
+
class UpdateSecretCommand extends smithy_client_1.Command.classBuilder()
|
|
16086
|
+
.m(function (Command, cs, config, o) {
|
|
16087
|
+
return [
|
|
16088
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16089
|
+
];
|
|
16090
|
+
})
|
|
16091
|
+
.s("Superposition", "UpdateSecret", {})
|
|
16092
|
+
.n("SuperpositionClient", "UpdateSecretCommand")
|
|
16093
|
+
.f(void 0, void 0)
|
|
16094
|
+
.ser(Aws_restJson1_1.se_UpdateSecretCommand)
|
|
16095
|
+
.de(Aws_restJson1_1.de_UpdateSecretCommand)
|
|
16096
|
+
.build() {
|
|
16097
|
+
}
|
|
16098
|
+
exports.UpdateSecretCommand = UpdateSecretCommand;
|
|
16099
|
+
} (UpdateSecretCommand));
|
|
16100
|
+
return UpdateSecretCommand;
|
|
16101
|
+
}
|
|
16102
|
+
|
|
15603
16103
|
var UpdateTypeTemplatesCommand = {};
|
|
15604
16104
|
|
|
15605
16105
|
var hasRequiredUpdateTypeTemplatesCommand;
|
|
@@ -15612,7 +16112,7 @@ function requireUpdateTypeTemplatesCommand () {
|
|
|
15612
16112
|
exports.UpdateTypeTemplatesCommand = exports.$Command = void 0;
|
|
15613
16113
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15614
16114
|
const middleware_serde_1 = require$$1;
|
|
15615
|
-
const smithy_client_1 = require$$
|
|
16115
|
+
const smithy_client_1 = require$$84;
|
|
15616
16116
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15617
16117
|
class UpdateTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
|
|
15618
16118
|
.m(function (Command, cs, config, o) {
|
|
@@ -15644,7 +16144,7 @@ function requireUpdateVariableCommand () {
|
|
|
15644
16144
|
exports.UpdateVariableCommand = exports.$Command = void 0;
|
|
15645
16145
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15646
16146
|
const middleware_serde_1 = require$$1;
|
|
15647
|
-
const smithy_client_1 = require$$
|
|
16147
|
+
const smithy_client_1 = require$$84;
|
|
15648
16148
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15649
16149
|
class UpdateVariableCommand extends smithy_client_1.Command.classBuilder()
|
|
15650
16150
|
.m(function (Command, cs, config, o) {
|
|
@@ -15676,7 +16176,7 @@ function requireUpdateWebhookCommand () {
|
|
|
15676
16176
|
exports.UpdateWebhookCommand = exports.$Command = void 0;
|
|
15677
16177
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15678
16178
|
const middleware_serde_1 = require$$1;
|
|
15679
|
-
const smithy_client_1 = require$$
|
|
16179
|
+
const smithy_client_1 = require$$84;
|
|
15680
16180
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15681
16181
|
class UpdateWebhookCommand extends smithy_client_1.Command.classBuilder()
|
|
15682
16182
|
.m(function (Command, cs, config, o) {
|
|
@@ -15708,7 +16208,7 @@ function requireUpdateWorkspaceCommand () {
|
|
|
15708
16208
|
exports.UpdateWorkspaceCommand = exports.$Command = void 0;
|
|
15709
16209
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15710
16210
|
const middleware_serde_1 = require$$1;
|
|
15711
|
-
const smithy_client_1 = require$$
|
|
16211
|
+
const smithy_client_1 = require$$84;
|
|
15712
16212
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15713
16213
|
class UpdateWorkspaceCommand extends smithy_client_1.Command.classBuilder()
|
|
15714
16214
|
.m(function (Command, cs, config, o) {
|
|
@@ -15740,7 +16240,7 @@ function requireValidateContextCommand () {
|
|
|
15740
16240
|
exports.ValidateContextCommand = exports.$Command = void 0;
|
|
15741
16241
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15742
16242
|
const middleware_serde_1 = require$$1;
|
|
15743
|
-
const smithy_client_1 = require$$
|
|
16243
|
+
const smithy_client_1 = require$$84;
|
|
15744
16244
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15745
16245
|
class ValidateContextCommand extends smithy_client_1.Command.classBuilder()
|
|
15746
16246
|
.m(function (Command, cs, config, o) {
|
|
@@ -15772,7 +16272,7 @@ function requireWeightRecomputeCommand () {
|
|
|
15772
16272
|
exports.WeightRecomputeCommand = exports.$Command = void 0;
|
|
15773
16273
|
const Aws_restJson1_1 = requireAws_restJson1();
|
|
15774
16274
|
const middleware_serde_1 = require$$1;
|
|
15775
|
-
const smithy_client_1 = require$$
|
|
16275
|
+
const smithy_client_1 = require$$84;
|
|
15776
16276
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
15777
16277
|
class WeightRecomputeCommand extends smithy_client_1.Command.classBuilder()
|
|
15778
16278
|
.m(function (Command, cs, config, o) {
|
|
@@ -15811,6 +16311,7 @@ function requireSuperposition () {
|
|
|
15811
16311
|
const CreateExperimentGroupCommand_1 = requireCreateExperimentGroupCommand();
|
|
15812
16312
|
const CreateFunctionCommand_1 = requireCreateFunctionCommand();
|
|
15813
16313
|
const CreateOrganisationCommand_1 = requireCreateOrganisationCommand();
|
|
16314
|
+
const CreateSecretCommand_1 = requireCreateSecretCommand();
|
|
15814
16315
|
const CreateTypeTemplatesCommand_1 = requireCreateTypeTemplatesCommand();
|
|
15815
16316
|
const CreateVariableCommand_1 = requireCreateVariableCommand();
|
|
15816
16317
|
const CreateWebhookCommand_1 = requireCreateWebhookCommand();
|
|
@@ -15820,6 +16321,7 @@ function requireSuperposition () {
|
|
|
15820
16321
|
const DeleteDimensionCommand_1 = requireDeleteDimensionCommand();
|
|
15821
16322
|
const DeleteExperimentGroupCommand_1 = requireDeleteExperimentGroupCommand();
|
|
15822
16323
|
const DeleteFunctionCommand_1 = requireDeleteFunctionCommand();
|
|
16324
|
+
const DeleteSecretCommand_1 = requireDeleteSecretCommand();
|
|
15823
16325
|
const DeleteTypeTemplatesCommand_1 = requireDeleteTypeTemplatesCommand();
|
|
15824
16326
|
const DeleteVariableCommand_1 = requireDeleteVariableCommand();
|
|
15825
16327
|
const DeleteWebhookCommand_1 = requireDeleteWebhookCommand();
|
|
@@ -15836,6 +16338,7 @@ function requireSuperposition () {
|
|
|
15836
16338
|
const GetOrganisationCommand_1 = requireGetOrganisationCommand();
|
|
15837
16339
|
const GetResolvedConfigCommand_1 = requireGetResolvedConfigCommand();
|
|
15838
16340
|
const GetResolvedConfigWithIdentifierCommand_1 = requireGetResolvedConfigWithIdentifierCommand();
|
|
16341
|
+
const GetSecretCommand_1 = requireGetSecretCommand();
|
|
15839
16342
|
const GetTypeTemplateCommand_1 = requireGetTypeTemplateCommand();
|
|
15840
16343
|
const GetTypeTemplatesListCommand_1 = requireGetTypeTemplatesListCommand();
|
|
15841
16344
|
const GetVariableCommand_1 = requireGetVariableCommand();
|
|
@@ -15851,6 +16354,7 @@ function requireSuperposition () {
|
|
|
15851
16354
|
const ListExperimentGroupsCommand_1 = requireListExperimentGroupsCommand();
|
|
15852
16355
|
const ListFunctionCommand_1 = requireListFunctionCommand();
|
|
15853
16356
|
const ListOrganisationCommand_1 = requireListOrganisationCommand();
|
|
16357
|
+
const ListSecretsCommand_1 = requireListSecretsCommand();
|
|
15854
16358
|
const ListVariablesCommand_1 = requireListVariablesCommand();
|
|
15855
16359
|
const ListVersionsCommand_1 = requireListVersionsCommand();
|
|
15856
16360
|
const ListWebhookCommand_1 = requireListWebhookCommand();
|
|
@@ -15862,6 +16366,8 @@ function requireSuperposition () {
|
|
|
15862
16366
|
const RampExperimentCommand_1 = requireRampExperimentCommand();
|
|
15863
16367
|
const RemoveMembersFromGroupCommand_1 = requireRemoveMembersFromGroupCommand();
|
|
15864
16368
|
const ResumeExperimentCommand_1 = requireResumeExperimentCommand();
|
|
16369
|
+
const RotateMasterEncryptionKeyCommand_1 = requireRotateMasterEncryptionKeyCommand();
|
|
16370
|
+
const RotateWorkspaceEncryptionKeyCommand_1 = requireRotateWorkspaceEncryptionKeyCommand();
|
|
15865
16371
|
const TestCommand_1 = requireTestCommand();
|
|
15866
16372
|
const UpdateDefaultConfigCommand_1 = requireUpdateDefaultConfigCommand();
|
|
15867
16373
|
const UpdateDimensionCommand_1 = requireUpdateDimensionCommand();
|
|
@@ -15870,13 +16376,14 @@ function requireSuperposition () {
|
|
|
15870
16376
|
const UpdateOrganisationCommand_1 = requireUpdateOrganisationCommand();
|
|
15871
16377
|
const UpdateOverrideCommand_1 = requireUpdateOverrideCommand();
|
|
15872
16378
|
const UpdateOverridesExperimentCommand_1 = requireUpdateOverridesExperimentCommand();
|
|
16379
|
+
const UpdateSecretCommand_1 = requireUpdateSecretCommand();
|
|
15873
16380
|
const UpdateTypeTemplatesCommand_1 = requireUpdateTypeTemplatesCommand();
|
|
15874
16381
|
const UpdateVariableCommand_1 = requireUpdateVariableCommand();
|
|
15875
16382
|
const UpdateWebhookCommand_1 = requireUpdateWebhookCommand();
|
|
15876
16383
|
const UpdateWorkspaceCommand_1 = requireUpdateWorkspaceCommand();
|
|
15877
16384
|
const ValidateContextCommand_1 = requireValidateContextCommand();
|
|
15878
16385
|
const WeightRecomputeCommand_1 = requireWeightRecomputeCommand();
|
|
15879
|
-
const smithy_client_1 = require$$
|
|
16386
|
+
const smithy_client_1 = require$$84;
|
|
15880
16387
|
const commands = {
|
|
15881
16388
|
AddMembersToGroupCommand: AddMembersToGroupCommand_1.AddMembersToGroupCommand,
|
|
15882
16389
|
ApplicableVariantsCommand: ApplicableVariantsCommand_1.ApplicableVariantsCommand,
|
|
@@ -15889,6 +16396,7 @@ function requireSuperposition () {
|
|
|
15889
16396
|
CreateExperimentGroupCommand: CreateExperimentGroupCommand_1.CreateExperimentGroupCommand,
|
|
15890
16397
|
CreateFunctionCommand: CreateFunctionCommand_1.CreateFunctionCommand,
|
|
15891
16398
|
CreateOrganisationCommand: CreateOrganisationCommand_1.CreateOrganisationCommand,
|
|
16399
|
+
CreateSecretCommand: CreateSecretCommand_1.CreateSecretCommand,
|
|
15892
16400
|
CreateTypeTemplatesCommand: CreateTypeTemplatesCommand_1.CreateTypeTemplatesCommand,
|
|
15893
16401
|
CreateVariableCommand: CreateVariableCommand_1.CreateVariableCommand,
|
|
15894
16402
|
CreateWebhookCommand: CreateWebhookCommand_1.CreateWebhookCommand,
|
|
@@ -15898,6 +16406,7 @@ function requireSuperposition () {
|
|
|
15898
16406
|
DeleteDimensionCommand: DeleteDimensionCommand_1.DeleteDimensionCommand,
|
|
15899
16407
|
DeleteExperimentGroupCommand: DeleteExperimentGroupCommand_1.DeleteExperimentGroupCommand,
|
|
15900
16408
|
DeleteFunctionCommand: DeleteFunctionCommand_1.DeleteFunctionCommand,
|
|
16409
|
+
DeleteSecretCommand: DeleteSecretCommand_1.DeleteSecretCommand,
|
|
15901
16410
|
DeleteTypeTemplatesCommand: DeleteTypeTemplatesCommand_1.DeleteTypeTemplatesCommand,
|
|
15902
16411
|
DeleteVariableCommand: DeleteVariableCommand_1.DeleteVariableCommand,
|
|
15903
16412
|
DeleteWebhookCommand: DeleteWebhookCommand_1.DeleteWebhookCommand,
|
|
@@ -15914,6 +16423,7 @@ function requireSuperposition () {
|
|
|
15914
16423
|
GetOrganisationCommand: GetOrganisationCommand_1.GetOrganisationCommand,
|
|
15915
16424
|
GetResolvedConfigCommand: GetResolvedConfigCommand_1.GetResolvedConfigCommand,
|
|
15916
16425
|
GetResolvedConfigWithIdentifierCommand: GetResolvedConfigWithIdentifierCommand_1.GetResolvedConfigWithIdentifierCommand,
|
|
16426
|
+
GetSecretCommand: GetSecretCommand_1.GetSecretCommand,
|
|
15917
16427
|
GetTypeTemplateCommand: GetTypeTemplateCommand_1.GetTypeTemplateCommand,
|
|
15918
16428
|
GetTypeTemplatesListCommand: GetTypeTemplatesListCommand_1.GetTypeTemplatesListCommand,
|
|
15919
16429
|
GetVariableCommand: GetVariableCommand_1.GetVariableCommand,
|
|
@@ -15929,6 +16439,7 @@ function requireSuperposition () {
|
|
|
15929
16439
|
ListExperimentGroupsCommand: ListExperimentGroupsCommand_1.ListExperimentGroupsCommand,
|
|
15930
16440
|
ListFunctionCommand: ListFunctionCommand_1.ListFunctionCommand,
|
|
15931
16441
|
ListOrganisationCommand: ListOrganisationCommand_1.ListOrganisationCommand,
|
|
16442
|
+
ListSecretsCommand: ListSecretsCommand_1.ListSecretsCommand,
|
|
15932
16443
|
ListVariablesCommand: ListVariablesCommand_1.ListVariablesCommand,
|
|
15933
16444
|
ListVersionsCommand: ListVersionsCommand_1.ListVersionsCommand,
|
|
15934
16445
|
ListWebhookCommand: ListWebhookCommand_1.ListWebhookCommand,
|
|
@@ -15940,6 +16451,8 @@ function requireSuperposition () {
|
|
|
15940
16451
|
RampExperimentCommand: RampExperimentCommand_1.RampExperimentCommand,
|
|
15941
16452
|
RemoveMembersFromGroupCommand: RemoveMembersFromGroupCommand_1.RemoveMembersFromGroupCommand,
|
|
15942
16453
|
ResumeExperimentCommand: ResumeExperimentCommand_1.ResumeExperimentCommand,
|
|
16454
|
+
RotateMasterEncryptionKeyCommand: RotateMasterEncryptionKeyCommand_1.RotateMasterEncryptionKeyCommand,
|
|
16455
|
+
RotateWorkspaceEncryptionKeyCommand: RotateWorkspaceEncryptionKeyCommand_1.RotateWorkspaceEncryptionKeyCommand,
|
|
15943
16456
|
TestCommand: TestCommand_1.TestCommand,
|
|
15944
16457
|
UpdateDefaultConfigCommand: UpdateDefaultConfigCommand_1.UpdateDefaultConfigCommand,
|
|
15945
16458
|
UpdateDimensionCommand: UpdateDimensionCommand_1.UpdateDimensionCommand,
|
|
@@ -15948,6 +16461,7 @@ function requireSuperposition () {
|
|
|
15948
16461
|
UpdateOrganisationCommand: UpdateOrganisationCommand_1.UpdateOrganisationCommand,
|
|
15949
16462
|
UpdateOverrideCommand: UpdateOverrideCommand_1.UpdateOverrideCommand,
|
|
15950
16463
|
UpdateOverridesExperimentCommand: UpdateOverridesExperimentCommand_1.UpdateOverridesExperimentCommand,
|
|
16464
|
+
UpdateSecretCommand: UpdateSecretCommand_1.UpdateSecretCommand,
|
|
15951
16465
|
UpdateTypeTemplatesCommand: UpdateTypeTemplatesCommand_1.UpdateTypeTemplatesCommand,
|
|
15952
16466
|
UpdateVariableCommand: UpdateVariableCommand_1.UpdateVariableCommand,
|
|
15953
16467
|
UpdateWebhookCommand: UpdateWebhookCommand_1.UpdateWebhookCommand,
|
|
@@ -15983,6 +16497,7 @@ function requireCommands () {
|
|
|
15983
16497
|
tslib_1.__exportStar(requireCreateExperimentGroupCommand(), exports);
|
|
15984
16498
|
tslib_1.__exportStar(requireCreateFunctionCommand(), exports);
|
|
15985
16499
|
tslib_1.__exportStar(requireCreateOrganisationCommand(), exports);
|
|
16500
|
+
tslib_1.__exportStar(requireCreateSecretCommand(), exports);
|
|
15986
16501
|
tslib_1.__exportStar(requireCreateTypeTemplatesCommand(), exports);
|
|
15987
16502
|
tslib_1.__exportStar(requireCreateVariableCommand(), exports);
|
|
15988
16503
|
tslib_1.__exportStar(requireCreateWebhookCommand(), exports);
|
|
@@ -15992,6 +16507,7 @@ function requireCommands () {
|
|
|
15992
16507
|
tslib_1.__exportStar(requireDeleteDimensionCommand(), exports);
|
|
15993
16508
|
tslib_1.__exportStar(requireDeleteExperimentGroupCommand(), exports);
|
|
15994
16509
|
tslib_1.__exportStar(requireDeleteFunctionCommand(), exports);
|
|
16510
|
+
tslib_1.__exportStar(requireDeleteSecretCommand(), exports);
|
|
15995
16511
|
tslib_1.__exportStar(requireDeleteTypeTemplatesCommand(), exports);
|
|
15996
16512
|
tslib_1.__exportStar(requireDeleteVariableCommand(), exports);
|
|
15997
16513
|
tslib_1.__exportStar(requireDeleteWebhookCommand(), exports);
|
|
@@ -16008,6 +16524,7 @@ function requireCommands () {
|
|
|
16008
16524
|
tslib_1.__exportStar(requireGetOrganisationCommand(), exports);
|
|
16009
16525
|
tslib_1.__exportStar(requireGetResolvedConfigCommand(), exports);
|
|
16010
16526
|
tslib_1.__exportStar(requireGetResolvedConfigWithIdentifierCommand(), exports);
|
|
16527
|
+
tslib_1.__exportStar(requireGetSecretCommand(), exports);
|
|
16011
16528
|
tslib_1.__exportStar(requireGetTypeTemplateCommand(), exports);
|
|
16012
16529
|
tslib_1.__exportStar(requireGetTypeTemplatesListCommand(), exports);
|
|
16013
16530
|
tslib_1.__exportStar(requireGetVariableCommand(), exports);
|
|
@@ -16023,6 +16540,7 @@ function requireCommands () {
|
|
|
16023
16540
|
tslib_1.__exportStar(requireListExperimentGroupsCommand(), exports);
|
|
16024
16541
|
tslib_1.__exportStar(requireListFunctionCommand(), exports);
|
|
16025
16542
|
tslib_1.__exportStar(requireListOrganisationCommand(), exports);
|
|
16543
|
+
tslib_1.__exportStar(requireListSecretsCommand(), exports);
|
|
16026
16544
|
tslib_1.__exportStar(requireListVariablesCommand(), exports);
|
|
16027
16545
|
tslib_1.__exportStar(requireListVersionsCommand(), exports);
|
|
16028
16546
|
tslib_1.__exportStar(requireListWebhookCommand(), exports);
|
|
@@ -16034,6 +16552,8 @@ function requireCommands () {
|
|
|
16034
16552
|
tslib_1.__exportStar(requireRampExperimentCommand(), exports);
|
|
16035
16553
|
tslib_1.__exportStar(requireRemoveMembersFromGroupCommand(), exports);
|
|
16036
16554
|
tslib_1.__exportStar(requireResumeExperimentCommand(), exports);
|
|
16555
|
+
tslib_1.__exportStar(requireRotateMasterEncryptionKeyCommand(), exports);
|
|
16556
|
+
tslib_1.__exportStar(requireRotateWorkspaceEncryptionKeyCommand(), exports);
|
|
16037
16557
|
tslib_1.__exportStar(requireTestCommand(), exports);
|
|
16038
16558
|
tslib_1.__exportStar(requireUpdateDefaultConfigCommand(), exports);
|
|
16039
16559
|
tslib_1.__exportStar(requireUpdateDimensionCommand(), exports);
|
|
@@ -16042,6 +16562,7 @@ function requireCommands () {
|
|
|
16042
16562
|
tslib_1.__exportStar(requireUpdateOrganisationCommand(), exports);
|
|
16043
16563
|
tslib_1.__exportStar(requireUpdateOverrideCommand(), exports);
|
|
16044
16564
|
tslib_1.__exportStar(requireUpdateOverridesExperimentCommand(), exports);
|
|
16565
|
+
tslib_1.__exportStar(requireUpdateSecretCommand(), exports);
|
|
16045
16566
|
tslib_1.__exportStar(requireUpdateTypeTemplatesCommand(), exports);
|
|
16046
16567
|
tslib_1.__exportStar(requireUpdateVariableCommand(), exports);
|
|
16047
16568
|
tslib_1.__exportStar(requireUpdateWebhookCommand(), exports);
|
|
@@ -16090,6 +16611,7 @@ class ExperimentationClient {
|
|
|
16090
16611
|
this.smithyClient = new superpositionSdk.SuperpositionClient({
|
|
16091
16612
|
endpoint: superpositionOptions.endpoint,
|
|
16092
16613
|
token: { token: superpositionOptions.token },
|
|
16614
|
+
requestHandler: superpositionOptions.httpClient,
|
|
16093
16615
|
});
|
|
16094
16616
|
}
|
|
16095
16617
|
async initialize() {
|
|
@@ -16371,6 +16893,7 @@ class ConfigurationClient {
|
|
|
16371
16893
|
this.smithyClient = new superpositionSdk.SuperpositionClient({
|
|
16372
16894
|
endpoint: this.config.endpoint,
|
|
16373
16895
|
token: { token: this.config.token },
|
|
16896
|
+
requestHandler: this.config.httpClient,
|
|
16374
16897
|
});
|
|
16375
16898
|
}
|
|
16376
16899
|
async initialize() {
|
|
@@ -16516,6 +17039,7 @@ function convertToObject(value, defaultValue) {
|
|
|
16516
17039
|
return defaultValue;
|
|
16517
17040
|
}
|
|
16518
17041
|
|
|
17042
|
+
const ERROR_BUFFER_SIZE = 2048;
|
|
16519
17043
|
class NativeResolver {
|
|
16520
17044
|
constructor(libPath) {
|
|
16521
17045
|
this.isAvailable = false;
|
|
@@ -16527,6 +17051,7 @@ class NativeResolver {
|
|
|
16527
17051
|
this.lib.core_free_string = this.lib.func("void core_free_string(char*)");
|
|
16528
17052
|
this.lib.core_get_applicable_variants = this.lib.func("char* core_get_applicable_variants(const char*, const char*, const char*, const char*, const char*)");
|
|
16529
17053
|
this.lib.core_test_connection = this.lib.func("int core_test_connection()");
|
|
17054
|
+
this.lib.core_parse_toml_config = this.lib.func("char* core_parse_toml_config(const char*, char*)");
|
|
16530
17055
|
this.isAvailable = true;
|
|
16531
17056
|
}
|
|
16532
17057
|
catch (error) {
|
|
@@ -16604,7 +17129,7 @@ class NativeResolver {
|
|
|
16604
17129
|
queryDataJson === "undefined") {
|
|
16605
17130
|
throw new Error("queryData serialization failed");
|
|
16606
17131
|
}
|
|
16607
|
-
const ebuf = Buffer$1.alloc(
|
|
17132
|
+
const ebuf = Buffer$1.alloc(ERROR_BUFFER_SIZE);
|
|
16608
17133
|
const result = this.lib.core_get_resolved_config(defaultConfigsJson, contextsJson, overridesJson, dimensionsJson, queryDataJson, mergeStrategy, filterPrefixesJson, experimentationJson, ebuf);
|
|
16609
17134
|
console.log("🔧 FFI call completed, result:", result);
|
|
16610
17135
|
const err = ebuf.toString('utf8').split('\0')[0];
|
|
@@ -16636,7 +17161,7 @@ class NativeResolver {
|
|
|
16636
17161
|
const experimentationJson = experimentation
|
|
16637
17162
|
? JSON.stringify(experimentation)
|
|
16638
17163
|
: null;
|
|
16639
|
-
const ebuf = Buffer$1.alloc(
|
|
17164
|
+
const ebuf = Buffer$1.alloc(ERROR_BUFFER_SIZE);
|
|
16640
17165
|
const result = this.lib.core_get_resolved_config_with_reasoning(JSON.stringify(defaultConfigs || {}), JSON.stringify(contexts), JSON.stringify(overrides), JSON.stringify(dimensions), JSON.stringify(queryData), mergeStrategy, filterPrefixesJson, experimentationJson, ebuf);
|
|
16641
17166
|
const err = ebuf.toString('utf8').split('\0')[0];
|
|
16642
17167
|
if (err.length !== 0) {
|
|
@@ -16678,7 +17203,7 @@ class NativeResolver {
|
|
|
16678
17203
|
console.log(" userContext:", userContext);
|
|
16679
17204
|
console.log(" identifier:", identifier);
|
|
16680
17205
|
console.log(" filterPrefixes:", filterPrefixes);
|
|
16681
|
-
const ebuf = Buffer$1.alloc(
|
|
17206
|
+
const ebuf = Buffer$1.alloc(ERROR_BUFFER_SIZE);
|
|
16682
17207
|
const result = this.lib.core_get_applicable_variants(experimentsJson, experimentGroupsJson, dimensionsJson, userContextJson, identifier, filterPrefixesJson);
|
|
16683
17208
|
console.log("FFI getApplicableVariants call completed, result:", result);
|
|
16684
17209
|
const err = ebuf.toString('utf8').split('\0')[0];
|
|
@@ -16700,6 +17225,50 @@ class NativeResolver {
|
|
|
16700
17225
|
throw new Error(`Failed to parse variants evaluation result: ${parseError}`);
|
|
16701
17226
|
}
|
|
16702
17227
|
}
|
|
17228
|
+
/**
|
|
17229
|
+
* Parse TOML configuration into structured format matching the Config type
|
|
17230
|
+
*
|
|
17231
|
+
* @param tomlContent - TOML configuration string
|
|
17232
|
+
* @returns Parsed Config object with contexts, overrides, default_configs, dimensions
|
|
17233
|
+
* @throws Error if parsing fails
|
|
17234
|
+
*/
|
|
17235
|
+
parseTomlConfig(tomlContent) {
|
|
17236
|
+
if (!this.isAvailable) {
|
|
17237
|
+
throw new Error("Native resolver is not available. Please ensure the native library is built and accessible.");
|
|
17238
|
+
}
|
|
17239
|
+
if (typeof tomlContent !== 'string') {
|
|
17240
|
+
throw new TypeError('tomlContent must be a string');
|
|
17241
|
+
}
|
|
17242
|
+
// Allocate error buffer (matching the Rust implementation)
|
|
17243
|
+
const errorBuffer = Buffer$1.alloc(ERROR_BUFFER_SIZE);
|
|
17244
|
+
// Call the C function
|
|
17245
|
+
const resultJson = this.lib.core_parse_toml_config(tomlContent, errorBuffer);
|
|
17246
|
+
// Check for errors
|
|
17247
|
+
if (!resultJson) {
|
|
17248
|
+
// Read error message from buffer
|
|
17249
|
+
const nullTermIndex = errorBuffer.indexOf(0);
|
|
17250
|
+
const errorMsg = errorBuffer.toString('utf8', 0, nullTermIndex > 0 ? nullTermIndex : errorBuffer.length);
|
|
17251
|
+
throw new Error(`TOML parsing failed: ${errorMsg}`);
|
|
17252
|
+
}
|
|
17253
|
+
// Decode the result to a JS string if it's not already a string
|
|
17254
|
+
const configStr = typeof resultJson === "string"
|
|
17255
|
+
? resultJson
|
|
17256
|
+
: this.lib.decode(resultJson, "string");
|
|
17257
|
+
// Free the native string if it wasn't already a string
|
|
17258
|
+
if (typeof resultJson !== "string") {
|
|
17259
|
+
this.lib.core_free_string(resultJson);
|
|
17260
|
+
}
|
|
17261
|
+
// Parse the JSON result
|
|
17262
|
+
try {
|
|
17263
|
+
const result = JSON.parse(configStr);
|
|
17264
|
+
return result;
|
|
17265
|
+
}
|
|
17266
|
+
catch (parseError) {
|
|
17267
|
+
console.error("Failed to parse TOML result:", parseError);
|
|
17268
|
+
console.error("Raw result string:", configStr);
|
|
17269
|
+
throw new Error(`Failed to parse TOML result: ${parseError}`);
|
|
17270
|
+
}
|
|
17271
|
+
}
|
|
16703
17272
|
/**
|
|
16704
17273
|
* Get the path to the native library.
|
|
16705
17274
|
* Uses the same approach as Java and Python - looks for GitHub artifacts first,
|
|
@@ -16754,7 +17323,7 @@ class NativeResolver {
|
|
|
16754
17323
|
console.log(`Using local build: ${localBuildPath}`);
|
|
16755
17324
|
return localBuildPath;
|
|
16756
17325
|
}
|
|
16757
|
-
//
|
|
17326
|
+
// 5. Final fallback - assume it's in the system path
|
|
16758
17327
|
console.warn(`Native library not found in expected locations, trying: ${filename}`);
|
|
16759
17328
|
return filename;
|
|
16760
17329
|
}
|
|
@@ -16796,6 +17365,7 @@ class SuperpositionProvider {
|
|
|
16796
17365
|
token: config.token,
|
|
16797
17366
|
org_id: config.org_id,
|
|
16798
17367
|
workspace_id: config.workspace_id,
|
|
17368
|
+
httpClient: config.httpClient,
|
|
16799
17369
|
}, new NativeResolver(), {
|
|
16800
17370
|
fallbackConfig: config.fallbackConfig,
|
|
16801
17371
|
evaluationCache: config.evaluationCache,
|