superposition-provider 0.91.2 → 0.93.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.js CHANGED
@@ -8340,7 +8340,7 @@ var require$$8 = /*@__PURE__*/getAugmentedNamespace(distEs$a);
8340
8340
 
8341
8341
  var runtimeConfig_shared = {};
8342
8342
 
8343
- var require$$64 = /*@__PURE__*/getAugmentedNamespace(distEs$f);
8343
+ var require$$71 = /*@__PURE__*/getAugmentedNamespace(distEs$f);
8344
8344
 
8345
8345
  function parseQueryString(querystring) {
8346
8346
  const query = {};
@@ -8404,7 +8404,7 @@ function requireRuntimeConfig_shared () {
8404
8404
  runtimeConfig_shared.getRuntimeConfig = void 0;
8405
8405
  const httpAuthSchemeProvider_1 = requireHttpAuthSchemeProvider();
8406
8406
  const core_1 = require$$3$3;
8407
- const smithy_client_1 = require$$64;
8407
+ const smithy_client_1 = require$$71;
8408
8408
  const url_parser_1 = require$$3$1;
8409
8409
  const util_base64_1 = require$$4$1;
8410
8410
  const util_utf8_1 = require$$5$1;
@@ -8708,9 +8708,9 @@ function requireRuntimeConfig () {
8708
8708
  const util_body_length_node_1 = require$$7$1;
8709
8709
  const util_retry_1 = require$$8;
8710
8710
  const runtimeConfig_shared_1 = requireRuntimeConfig_shared();
8711
- const smithy_client_1 = require$$64;
8711
+ const smithy_client_1 = require$$71;
8712
8712
  const util_defaults_mode_node_1 = require$$11;
8713
- const smithy_client_2 = require$$64;
8713
+ const smithy_client_2 = require$$71;
8714
8714
  const getRuntimeConfig = (config) => {
8715
8715
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
8716
8716
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
@@ -8801,7 +8801,7 @@ function requireRuntimeExtensions () {
8801
8801
  runtimeExtensions.resolveRuntimeExtensions = void 0;
8802
8802
  const httpAuthExtensionConfiguration_1 = requireHttpAuthExtensionConfiguration();
8803
8803
  const protocol_http_1 = require$$1$1;
8804
- const smithy_client_1 = require$$64;
8804
+ const smithy_client_1 = require$$71;
8805
8805
  const asPartial = (t) => t;
8806
8806
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
8807
8807
  const extensionConfiguration = {
@@ -9030,7 +9030,7 @@ function requireSuperpositionClient () {
9030
9030
  const core_1 = require$$3$3;
9031
9031
  const middleware_content_length_1 = require$$9;
9032
9032
  const middleware_retry_1 = require$$10;
9033
- const smithy_client_1 = require$$64;
9033
+ const smithy_client_1 = require$$71;
9034
9034
  Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
9035
9035
  class SuperpositionClient extends smithy_client_1.Client {
9036
9036
  config;
@@ -9082,7 +9082,7 @@ function requireSuperpositionServiceException () {
9082
9082
  (function (exports) {
9083
9083
  Object.defineProperty(exports, "__esModule", { value: true });
9084
9084
  exports.SuperpositionServiceException = exports.__ServiceException = void 0;
9085
- const smithy_client_1 = require$$64;
9085
+ const smithy_client_1 = require$$71;
9086
9086
  Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
9087
9087
  class SuperpositionServiceException extends smithy_client_1.ServiceException {
9088
9088
  constructor(options) {
@@ -9103,7 +9103,7 @@ function requireModels_0 () {
9103
9103
  if (hasRequiredModels_0) return models_0;
9104
9104
  hasRequiredModels_0 = 1;
9105
9105
  Object.defineProperty(models_0, "__esModule", { value: true });
9106
- models_0.WorkspaceNotFound = models_0.WebhookNotFound = models_0.OrganisationNotFound = models_0.Stage = models_0.FunctionExecutionRequest = models_0.ExperimentSortOn = models_0.ExperimentGroupSortOn = models_0.TypeTemplatesNotFound = models_0.FunctionNotFound = models_0.WorkspaceStatus = models_0.Version = models_0.HttpMethod = models_0.OrgStatus = models_0.FunctionTypes = models_0.ContextFilterSortOn = models_0.SortBy = models_0.DimensionMatchStrategy = models_0.MergeStrategy = models_0.DimensionType = models_0.ExperimentStatusType = models_0.ExperimentType = models_0.ContextActionOut = models_0.ContextAction = models_0.ContextIdentifier = models_0.VariantType = models_0.ResourceNotFound = models_0.InternalServerError = models_0.GroupType = void 0;
9106
+ models_0.Stage = models_0.FunctionExecutionRequest = models_0.ExperimentSortOn = models_0.ExperimentGroupSortOn = models_0.WorkspaceStatus = models_0.Version = models_0.HttpMethod = models_0.OrgStatus = 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;
9107
9107
  const SuperpositionServiceException_1 = requireSuperpositionServiceException();
9108
9108
  models_0.GroupType = {
9109
9109
  SYSTEM_GENERATED: "SYSTEM_GENERATED",
@@ -9139,6 +9139,15 @@ function requireModels_0 () {
9139
9139
  CONTROL: "CONTROL",
9140
9140
  EXPERIMENTAL: "EXPERIMENTAL",
9141
9141
  };
9142
+ models_0.AuditAction = {
9143
+ DELETE: "DELETE",
9144
+ INSERT: "INSERT",
9145
+ UPDATE: "UPDATE",
9146
+ };
9147
+ models_0.SortBy = {
9148
+ ASC: "asc",
9149
+ DESC: "desc",
9150
+ };
9142
9151
  var ContextIdentifier;
9143
9152
  (function (ContextIdentifier) {
9144
9153
  ContextIdentifier.visit = (value, visitor) => {
@@ -9205,26 +9214,22 @@ function requireModels_0 () {
9205
9214
  REPLACE: "REPLACE",
9206
9215
  };
9207
9216
  models_0.DimensionMatchStrategy = {
9208
- Exact: "exact",
9209
- Subset: "subset",
9210
- };
9211
- models_0.SortBy = {
9212
- Asc: "asc",
9213
- Desc: "desc",
9217
+ EXACT: "exact",
9218
+ SUBSET: "subset",
9214
9219
  };
9215
9220
  models_0.ContextFilterSortOn = {
9216
- CreatedAt: "created_at",
9217
- LastModifiedAt: "last_modified_at",
9218
- Weight: "weight",
9221
+ CREATED_AT: "created_at",
9222
+ LAST_MODIFIED_AT: "last_modified_at",
9223
+ WEIGHT: "weight",
9219
9224
  };
9220
9225
  models_0.FunctionTypes = {
9221
- Autocomplete: "AUTOCOMPLETE",
9222
- Validation: "VALIDATION",
9226
+ AUTOCOMPLETE: "AUTOCOMPLETE",
9227
+ VALIDATION: "VALIDATION",
9223
9228
  };
9224
9229
  models_0.OrgStatus = {
9225
- Active: "Active",
9226
- Inactive: "Inactive",
9227
- PendingKyb: "PendingKyb",
9230
+ ACTIVE: "Active",
9231
+ INACTIVE: "Inactive",
9232
+ PENDING_KYB: "PendingKyb",
9228
9233
  };
9229
9234
  models_0.HttpMethod = {
9230
9235
  DELETE: "DELETE",
@@ -9241,40 +9246,14 @@ function requireModels_0 () {
9241
9246
  DISABLED: "DISABLED",
9242
9247
  ENABLED: "ENABLED",
9243
9248
  };
9244
- class FunctionNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
9245
- name = "FunctionNotFound";
9246
- $fault = "client";
9247
- constructor(opts) {
9248
- super({
9249
- name: "FunctionNotFound",
9250
- $fault: "client",
9251
- ...opts
9252
- });
9253
- Object.setPrototypeOf(this, FunctionNotFound.prototype);
9254
- }
9255
- }
9256
- models_0.FunctionNotFound = FunctionNotFound;
9257
- class TypeTemplatesNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
9258
- name = "TypeTemplatesNotFound";
9259
- $fault = "client";
9260
- constructor(opts) {
9261
- super({
9262
- name: "TypeTemplatesNotFound",
9263
- $fault: "client",
9264
- ...opts
9265
- });
9266
- Object.setPrototypeOf(this, TypeTemplatesNotFound.prototype);
9267
- }
9268
- }
9269
- models_0.TypeTemplatesNotFound = TypeTemplatesNotFound;
9270
9249
  models_0.ExperimentGroupSortOn = {
9271
- CreatedAt: "created_at",
9272
- LastModifiedAt: "last_modified_at",
9273
- Name: "name",
9250
+ CREATED_AT: "created_at",
9251
+ LAST_MODIFIED_AT: "last_modified_at",
9252
+ NAME: "name",
9274
9253
  };
9275
9254
  models_0.ExperimentSortOn = {
9276
- CreatedAt: "created_at",
9277
- LastModifiedAt: "last_modified_at",
9255
+ CREATED_AT: "created_at",
9256
+ LAST_MODIFIED_AT: "last_modified_at",
9278
9257
  };
9279
9258
  var FunctionExecutionRequest;
9280
9259
  (function (FunctionExecutionRequest) {
@@ -9290,45 +9269,6 @@ function requireModels_0 () {
9290
9269
  DRAFT: "draft",
9291
9270
  PUBLISHED: "published",
9292
9271
  };
9293
- class OrganisationNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
9294
- name = "OrganisationNotFound";
9295
- $fault = "client";
9296
- constructor(opts) {
9297
- super({
9298
- name: "OrganisationNotFound",
9299
- $fault: "client",
9300
- ...opts
9301
- });
9302
- Object.setPrototypeOf(this, OrganisationNotFound.prototype);
9303
- }
9304
- }
9305
- models_0.OrganisationNotFound = OrganisationNotFound;
9306
- class WebhookNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
9307
- name = "WebhookNotFound";
9308
- $fault = "client";
9309
- constructor(opts) {
9310
- super({
9311
- name: "WebhookNotFound",
9312
- $fault: "client",
9313
- ...opts
9314
- });
9315
- Object.setPrototypeOf(this, WebhookNotFound.prototype);
9316
- }
9317
- }
9318
- models_0.WebhookNotFound = WebhookNotFound;
9319
- class WorkspaceNotFound extends SuperpositionServiceException_1.SuperpositionServiceException {
9320
- name = "WorkspaceNotFound";
9321
- $fault = "client";
9322
- constructor(opts) {
9323
- super({
9324
- name: "WorkspaceNotFound",
9325
- $fault: "client",
9326
- ...opts
9327
- });
9328
- Object.setPrototypeOf(this, WorkspaceNotFound.prototype);
9329
- }
9330
- }
9331
- models_0.WorkspaceNotFound = WorkspaceNotFound;
9332
9272
  return models_0;
9333
9273
  }
9334
9274
 
@@ -9340,19 +9280,19 @@ function requireAws_restJson1 () {
9340
9280
  if (hasRequiredAws_restJson1) return Aws_restJson1;
9341
9281
  hasRequiredAws_restJson1 = 1;
9342
9282
  Object.defineProperty(Aws_restJson1, "__esModule", { value: true });
9343
- 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_ListOrganisationCommand = Aws_restJson1.se_ListFunctionCommand = Aws_restJson1.se_ListExperimentGroupsCommand = Aws_restJson1.se_ListExperimentCommand = Aws_restJson1.se_ListDimensionsCommand = Aws_restJson1.se_ListDefaultConfigsCommand = Aws_restJson1.se_ListContextsCommand = Aws_restJson1.se_ListAuditLogsCommand = Aws_restJson1.se_GetWebhookCommand = Aws_restJson1.se_GetTypeTemplatesListCommand = 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_GetContextFromConditionCommand = Aws_restJson1.se_GetContextCommand = Aws_restJson1.se_GetConfigFastCommand = Aws_restJson1.se_GetConfigCommand = Aws_restJson1.se_DiscardExperimentCommand = Aws_restJson1.se_DeleteTypeTemplatesCommand = 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_CreateTypeTemplatesCommand = 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;
9344
- Aws_restJson1.de_ListDimensionsCommand = Aws_restJson1.de_ListDefaultConfigsCommand = Aws_restJson1.de_ListContextsCommand = Aws_restJson1.de_ListAuditLogsCommand = Aws_restJson1.de_GetWebhookCommand = Aws_restJson1.de_GetTypeTemplatesListCommand = 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_GetContextFromConditionCommand = Aws_restJson1.de_GetContextCommand = Aws_restJson1.de_GetConfigFastCommand = Aws_restJson1.de_GetConfigCommand = Aws_restJson1.de_DiscardExperimentCommand = Aws_restJson1.de_DeleteTypeTemplatesCommand = Aws_restJson1.de_DeleteFunctionCommand = Aws_restJson1.de_DeleteExperimentGroupCommand = Aws_restJson1.de_DeleteDimensionCommand = Aws_restJson1.de_DeleteDefaultConfigCommand = Aws_restJson1.de_DeleteContextCommand = Aws_restJson1.de_CreateWorkspaceCommand = Aws_restJson1.de_CreateWebhookCommand = Aws_restJson1.de_CreateTypeTemplatesCommand = 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_UpdateWorkspaceCommand = Aws_restJson1.se_UpdateWebhookCommand = Aws_restJson1.se_UpdateTypeTemplatesCommand = 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_ResumeExperimentCommand = void 0;
9345
- Aws_restJson1.de_WeightRecomputeCommand = Aws_restJson1.de_UpdateWorkspaceCommand = Aws_restJson1.de_UpdateWebhookCommand = Aws_restJson1.de_UpdateTypeTemplatesCommand = 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_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_ListOrganisationCommand = Aws_restJson1.de_ListFunctionCommand = Aws_restJson1.de_ListExperimentGroupsCommand = Aws_restJson1.de_ListExperimentCommand = void 0;
9283
+ Aws_restJson1.se_ListWorkspaceCommand = Aws_restJson1.se_ListWebhookCommand = Aws_restJson1.se_ListVersionsCommand = Aws_restJson1.se_ListOrganisationCommand = Aws_restJson1.se_ListFunctionCommand = Aws_restJson1.se_ListExperimentGroupsCommand = Aws_restJson1.se_ListExperimentCommand = 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_GetTypeTemplatesListCommand = Aws_restJson1.se_GetTypeTemplateCommand = 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_DeleteTypeTemplatesCommand = 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_CreateTypeTemplatesCommand = 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;
9284
+ 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_DeleteTypeTemplatesCommand = Aws_restJson1.de_DeleteFunctionCommand = Aws_restJson1.de_DeleteExperimentGroupCommand = Aws_restJson1.de_DeleteDimensionCommand = Aws_restJson1.de_DeleteDefaultConfigCommand = Aws_restJson1.de_DeleteContextCommand = Aws_restJson1.de_CreateWorkspaceCommand = Aws_restJson1.de_CreateWebhookCommand = Aws_restJson1.de_CreateTypeTemplatesCommand = 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_UpdateTypeTemplatesCommand = 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_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 = void 0;
9285
+ Aws_restJson1.de_WeightRecomputeCommand = Aws_restJson1.de_ValidateContextCommand = Aws_restJson1.de_UpdateWorkspaceCommand = Aws_restJson1.de_UpdateWebhookCommand = Aws_restJson1.de_UpdateTypeTemplatesCommand = 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_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_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_GetTypeTemplatesListCommand = Aws_restJson1.de_GetTypeTemplateCommand = Aws_restJson1.de_GetResolvedConfigCommand = Aws_restJson1.de_GetOrganisationCommand = Aws_restJson1.de_GetFunctionCommand = void 0;
9346
9286
  const SuperpositionServiceException_1 = requireSuperpositionServiceException();
9347
9287
  const models_0_1 = requireModels_0();
9348
9288
  const core_1 = require$$2;
9349
9289
  const core_2 = require$$3$3;
9350
- const smithy_client_1 = require$$64;
9290
+ const smithy_client_1 = require$$71;
9351
9291
  const se_AddMembersToGroupCommand = async (input, context) => {
9352
9292
  const b = (0, core_2.requestBuilder)(input, context);
9353
9293
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9354
9294
  'content-type': 'application/json',
9355
- [_xt]: input[_wi],
9295
+ [_xw]: input[_wi],
9356
9296
  [_xoi]: input[_oi],
9357
9297
  });
9358
9298
  b.bp("/experiment-groups/{id}/add-members");
@@ -9372,7 +9312,7 @@ function requireAws_restJson1 () {
9372
9312
  const b = (0, core_2.requestBuilder)(input, context);
9373
9313
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9374
9314
  'content-type': 'application/json',
9375
- [_xt]: input[_wi],
9315
+ [_xw]: input[_wi],
9376
9316
  [_xoi]: input[_oi],
9377
9317
  });
9378
9318
  b.bp("/experiments/applicable-variants");
@@ -9391,7 +9331,7 @@ function requireAws_restJson1 () {
9391
9331
  const b = (0, core_2.requestBuilder)(input, context);
9392
9332
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9393
9333
  'content-type': 'application/json',
9394
- [_xt]: input[_wi],
9334
+ [_xw]: input[_wi],
9395
9335
  [_xoi]: input[_oi],
9396
9336
  [_xct]: input[_ct],
9397
9337
  });
@@ -9414,7 +9354,7 @@ function requireAws_restJson1 () {
9414
9354
  const b = (0, core_2.requestBuilder)(input, context);
9415
9355
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9416
9356
  'content-type': 'application/json',
9417
- [_xt]: input[_wi],
9357
+ [_xw]: input[_wi],
9418
9358
  [_xoi]: input[_oi],
9419
9359
  });
9420
9360
  b.bp("/experiments/{id}/conclude");
@@ -9435,7 +9375,7 @@ function requireAws_restJson1 () {
9435
9375
  const b = (0, core_2.requestBuilder)(input, context);
9436
9376
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9437
9377
  'content-type': 'application/json',
9438
- [_xt]: input[_wi],
9378
+ [_xw]: input[_wi],
9439
9379
  [_xoi]: input[_oi],
9440
9380
  [_xct]: input[_ct],
9441
9381
  });
@@ -9457,7 +9397,7 @@ function requireAws_restJson1 () {
9457
9397
  const b = (0, core_2.requestBuilder)(input, context);
9458
9398
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9459
9399
  'content-type': 'application/json',
9460
- [_xt]: input[_wi],
9400
+ [_xw]: input[_wi],
9461
9401
  [_xoi]: input[_oi],
9462
9402
  });
9463
9403
  b.bp("/default-config");
@@ -9481,7 +9421,7 @@ function requireAws_restJson1 () {
9481
9421
  const b = (0, core_2.requestBuilder)(input, context);
9482
9422
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9483
9423
  'content-type': 'application/json',
9484
- [_xt]: input[_wi],
9424
+ [_xw]: input[_wi],
9485
9425
  [_xoi]: input[_oi],
9486
9426
  });
9487
9427
  b.bp("/dimension");
@@ -9506,7 +9446,7 @@ function requireAws_restJson1 () {
9506
9446
  const b = (0, core_2.requestBuilder)(input, context);
9507
9447
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9508
9448
  'content-type': 'application/json',
9509
- [_xt]: input[_wi],
9449
+ [_xw]: input[_wi],
9510
9450
  [_xoi]: input[_oi],
9511
9451
  });
9512
9452
  b.bp("/experiments");
@@ -9531,7 +9471,7 @@ function requireAws_restJson1 () {
9531
9471
  const b = (0, core_2.requestBuilder)(input, context);
9532
9472
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9533
9473
  'content-type': 'application/json',
9534
- [_xt]: input[_wi],
9474
+ [_xw]: input[_wi],
9535
9475
  [_xoi]: input[_oi],
9536
9476
  });
9537
9477
  b.bp("/experiment-groups");
@@ -9554,7 +9494,7 @@ function requireAws_restJson1 () {
9554
9494
  const b = (0, core_2.requestBuilder)(input, context);
9555
9495
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9556
9496
  'content-type': 'application/json',
9557
- [_xt]: input[_wi],
9497
+ [_xw]: input[_wi],
9558
9498
  [_xoi]: input[_oi],
9559
9499
  });
9560
9500
  b.bp("/function");
@@ -9598,7 +9538,7 @@ function requireAws_restJson1 () {
9598
9538
  const b = (0, core_2.requestBuilder)(input, context);
9599
9539
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9600
9540
  'content-type': 'application/json',
9601
- [_xt]: input[_wi],
9541
+ [_xw]: input[_wi],
9602
9542
  [_xoi]: input[_oi],
9603
9543
  });
9604
9544
  b.bp("/types");
@@ -9619,7 +9559,7 @@ function requireAws_restJson1 () {
9619
9559
  const b = (0, core_2.requestBuilder)(input, context);
9620
9560
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9621
9561
  'content-type': 'application/json',
9622
- [_xt]: input[_wi],
9562
+ [_xw]: input[_wi],
9623
9563
  [_xoi]: input[_oi],
9624
9564
  });
9625
9565
  b.bp("/webhook");
@@ -9667,7 +9607,7 @@ function requireAws_restJson1 () {
9667
9607
  const se_DeleteContextCommand = async (input, context) => {
9668
9608
  const b = (0, core_2.requestBuilder)(input, context);
9669
9609
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9670
- [_xt]: input[_wi],
9610
+ [_xw]: input[_wi],
9671
9611
  [_xoi]: input[_oi],
9672
9612
  [_xct]: input[_ct],
9673
9613
  });
@@ -9683,7 +9623,7 @@ function requireAws_restJson1 () {
9683
9623
  const se_DeleteDefaultConfigCommand = async (input, context) => {
9684
9624
  const b = (0, core_2.requestBuilder)(input, context);
9685
9625
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9686
- [_xt]: input[_wi],
9626
+ [_xw]: input[_wi],
9687
9627
  [_xoi]: input[_oi],
9688
9628
  });
9689
9629
  b.bp("/default-config/{key}");
@@ -9698,7 +9638,7 @@ function requireAws_restJson1 () {
9698
9638
  const se_DeleteDimensionCommand = async (input, context) => {
9699
9639
  const b = (0, core_2.requestBuilder)(input, context);
9700
9640
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9701
- [_xt]: input[_wi],
9641
+ [_xw]: input[_wi],
9702
9642
  [_xoi]: input[_oi],
9703
9643
  });
9704
9644
  b.bp("/dimension/{dimension}");
@@ -9713,7 +9653,7 @@ function requireAws_restJson1 () {
9713
9653
  const se_DeleteExperimentGroupCommand = async (input, context) => {
9714
9654
  const b = (0, core_2.requestBuilder)(input, context);
9715
9655
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9716
- [_xt]: input[_wi],
9656
+ [_xw]: input[_wi],
9717
9657
  [_xoi]: input[_oi],
9718
9658
  });
9719
9659
  b.bp("/experiment-groups/{id}");
@@ -9728,7 +9668,7 @@ function requireAws_restJson1 () {
9728
9668
  const se_DeleteFunctionCommand = async (input, context) => {
9729
9669
  const b = (0, core_2.requestBuilder)(input, context);
9730
9670
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9731
- [_xt]: input[_wi],
9671
+ [_xw]: input[_wi],
9732
9672
  [_xoi]: input[_oi],
9733
9673
  });
9734
9674
  b.bp("/function/{function_name}");
@@ -9743,7 +9683,7 @@ function requireAws_restJson1 () {
9743
9683
  const se_DeleteTypeTemplatesCommand = async (input, context) => {
9744
9684
  const b = (0, core_2.requestBuilder)(input, context);
9745
9685
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9746
- [_xt]: input[_wi],
9686
+ [_xw]: input[_wi],
9747
9687
  [_xoi]: input[_oi],
9748
9688
  });
9749
9689
  b.bp("/types/{type_name}");
@@ -9755,11 +9695,26 @@ function requireAws_restJson1 () {
9755
9695
  return b.build();
9756
9696
  };
9757
9697
  Aws_restJson1.se_DeleteTypeTemplatesCommand = se_DeleteTypeTemplatesCommand;
9698
+ const se_DeleteWebhookCommand = async (input, context) => {
9699
+ const b = (0, core_2.requestBuilder)(input, context);
9700
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9701
+ [_xw]: input[_wi],
9702
+ [_xoi]: input[_oi],
9703
+ });
9704
+ b.bp("/webhook/{name}");
9705
+ b.p('name', () => input.name, '{name}', false);
9706
+ let body;
9707
+ b.m("DELETE")
9708
+ .h(headers)
9709
+ .b(body);
9710
+ return b.build();
9711
+ };
9712
+ Aws_restJson1.se_DeleteWebhookCommand = se_DeleteWebhookCommand;
9758
9713
  const se_DiscardExperimentCommand = async (input, context) => {
9759
9714
  const b = (0, core_2.requestBuilder)(input, context);
9760
9715
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9761
9716
  'content-type': 'application/json',
9762
- [_xt]: input[_wi],
9717
+ [_xw]: input[_wi],
9763
9718
  [_xoi]: input[_oi],
9764
9719
  });
9765
9720
  b.bp("/experiments/{id}/discard");
@@ -9778,12 +9733,12 @@ function requireAws_restJson1 () {
9778
9733
  const b = (0, core_2.requestBuilder)(input, context);
9779
9734
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9780
9735
  'content-type': 'application/json',
9781
- [_xt]: input[_wi],
9736
+ [_xw]: input[_wi],
9782
9737
  [_xoi]: input[_oi],
9783
9738
  });
9784
9739
  b.bp("/config");
9785
9740
  const query = (0, smithy_client_1.map)({
9786
- [_p]: [, input[_p]],
9741
+ [_p]: [() => input.prefix !== void 0, () => ((input[_p] || []))],
9787
9742
  [_v]: [, input[_v]],
9788
9743
  });
9789
9744
  let body;
@@ -9800,7 +9755,7 @@ function requireAws_restJson1 () {
9800
9755
  const se_GetConfigFastCommand = async (input, context) => {
9801
9756
  const b = (0, core_2.requestBuilder)(input, context);
9802
9757
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9803
- [_xt]: input[_wi],
9758
+ [_xw]: input[_wi],
9804
9759
  [_xoi]: input[_oi],
9805
9760
  });
9806
9761
  b.bp("/config/fast");
@@ -9814,7 +9769,7 @@ function requireAws_restJson1 () {
9814
9769
  const se_GetContextCommand = async (input, context) => {
9815
9770
  const b = (0, core_2.requestBuilder)(input, context);
9816
9771
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9817
- [_xt]: input[_wi],
9772
+ [_xw]: input[_wi],
9818
9773
  [_xoi]: input[_oi],
9819
9774
  });
9820
9775
  b.bp("/context/{id}");
@@ -9830,7 +9785,7 @@ function requireAws_restJson1 () {
9830
9785
  const b = (0, core_2.requestBuilder)(input, context);
9831
9786
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9832
9787
  'content-type': 'application/json',
9833
- [_xt]: input[_wi],
9788
+ [_xw]: input[_wi],
9834
9789
  [_xoi]: input[_oi],
9835
9790
  });
9836
9791
  b.bp("/context/get");
@@ -9850,10 +9805,25 @@ function requireAws_restJson1 () {
9850
9805
  return b.build();
9851
9806
  };
9852
9807
  Aws_restJson1.se_GetContextFromConditionCommand = se_GetContextFromConditionCommand;
9808
+ const se_GetDefaultConfigCommand = async (input, context) => {
9809
+ const b = (0, core_2.requestBuilder)(input, context);
9810
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9811
+ [_xw]: input[_wi],
9812
+ [_xoi]: input[_oi],
9813
+ });
9814
+ b.bp("/default-config/{key}");
9815
+ b.p('key', () => input.key, '{key}', false);
9816
+ let body;
9817
+ b.m("GET")
9818
+ .h(headers)
9819
+ .b(body);
9820
+ return b.build();
9821
+ };
9822
+ Aws_restJson1.se_GetDefaultConfigCommand = se_GetDefaultConfigCommand;
9853
9823
  const se_GetDimensionCommand = async (input, context) => {
9854
9824
  const b = (0, core_2.requestBuilder)(input, context);
9855
9825
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9856
- [_xt]: input[_wi],
9826
+ [_xw]: input[_wi],
9857
9827
  [_xoi]: input[_oi],
9858
9828
  });
9859
9829
  b.bp("/dimension/{dimension}");
@@ -9868,7 +9838,7 @@ function requireAws_restJson1 () {
9868
9838
  const se_GetExperimentCommand = async (input, context) => {
9869
9839
  const b = (0, core_2.requestBuilder)(input, context);
9870
9840
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9871
- [_xt]: input[_wi],
9841
+ [_xw]: input[_wi],
9872
9842
  [_xoi]: input[_oi],
9873
9843
  });
9874
9844
  b.bp("/experiments/{id}");
@@ -9883,7 +9853,7 @@ function requireAws_restJson1 () {
9883
9853
  const se_GetExperimentGroupCommand = async (input, context) => {
9884
9854
  const b = (0, core_2.requestBuilder)(input, context);
9885
9855
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9886
- [_xt]: input[_wi],
9856
+ [_xw]: input[_wi],
9887
9857
  [_xoi]: input[_oi],
9888
9858
  });
9889
9859
  b.bp("/experiment-groups/{id}");
@@ -9898,7 +9868,7 @@ function requireAws_restJson1 () {
9898
9868
  const se_GetFunctionCommand = async (input, context) => {
9899
9869
  const b = (0, core_2.requestBuilder)(input, context);
9900
9870
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9901
- [_xt]: input[_wi],
9871
+ [_xw]: input[_wi],
9902
9872
  [_xoi]: input[_oi],
9903
9873
  });
9904
9874
  b.bp("/function/{function_name}");
@@ -9926,13 +9896,13 @@ function requireAws_restJson1 () {
9926
9896
  const b = (0, core_2.requestBuilder)(input, context);
9927
9897
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9928
9898
  'content-type': 'application/json',
9929
- [_xt]: input[_wi],
9899
+ [_xw]: input[_wi],
9930
9900
  [_xoi]: input[_oi],
9931
9901
  [_xms]: input[_ms],
9932
9902
  });
9933
9903
  b.bp("/config/resolve");
9934
9904
  const query = (0, smithy_client_1.map)({
9935
- [_p]: [, input[_p]],
9905
+ [_p]: [() => input.prefix !== void 0, () => ((input[_p] || []))],
9936
9906
  [_v]: [, input[_v]],
9937
9907
  [_sr]: [() => input.show_reasoning !== void 0, () => (input[_sr].toString())],
9938
9908
  [_ci]: [, input[_ci]],
@@ -9948,10 +9918,25 @@ function requireAws_restJson1 () {
9948
9918
  return b.build();
9949
9919
  };
9950
9920
  Aws_restJson1.se_GetResolvedConfigCommand = se_GetResolvedConfigCommand;
9921
+ const se_GetTypeTemplateCommand = async (input, context) => {
9922
+ const b = (0, core_2.requestBuilder)(input, context);
9923
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9924
+ [_xw]: input[_wi],
9925
+ [_xoi]: input[_oi],
9926
+ });
9927
+ b.bp("/types/{type_name}");
9928
+ b.p('type_name', () => input.type_name, '{type_name}', false);
9929
+ let body;
9930
+ b.m("GET")
9931
+ .h(headers)
9932
+ .b(body);
9933
+ return b.build();
9934
+ };
9935
+ Aws_restJson1.se_GetTypeTemplateCommand = se_GetTypeTemplateCommand;
9951
9936
  const se_GetTypeTemplatesListCommand = async (input, context) => {
9952
9937
  const b = (0, core_2.requestBuilder)(input, context);
9953
9938
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9954
- [_xt]: input[_wi],
9939
+ [_xw]: input[_wi],
9955
9940
  [_xoi]: input[_oi],
9956
9941
  });
9957
9942
  b.bp("/types");
@@ -9968,10 +9953,25 @@ function requireAws_restJson1 () {
9968
9953
  return b.build();
9969
9954
  };
9970
9955
  Aws_restJson1.se_GetTypeTemplatesListCommand = se_GetTypeTemplatesListCommand;
9956
+ const se_GetVersionCommand = async (input, context) => {
9957
+ const b = (0, core_2.requestBuilder)(input, context);
9958
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9959
+ [_xw]: input[_wi],
9960
+ [_xoi]: input[_oi],
9961
+ });
9962
+ b.bp("/version/{id}");
9963
+ b.p('id', () => input.id, '{id}', false);
9964
+ let body;
9965
+ b.m("GET")
9966
+ .h(headers)
9967
+ .b(body);
9968
+ return b.build();
9969
+ };
9970
+ Aws_restJson1.se_GetVersionCommand = se_GetVersionCommand;
9971
9971
  const se_GetWebhookCommand = async (input, context) => {
9972
9972
  const b = (0, core_2.requestBuilder)(input, context);
9973
9973
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9974
- [_xt]: input[_wi],
9974
+ [_xw]: input[_wi],
9975
9975
  [_xoi]: input[_oi],
9976
9976
  });
9977
9977
  b.bp("/webhook/{name}");
@@ -9983,10 +9983,39 @@ function requireAws_restJson1 () {
9983
9983
  return b.build();
9984
9984
  };
9985
9985
  Aws_restJson1.se_GetWebhookCommand = se_GetWebhookCommand;
9986
+ const se_GetWebhookByEventCommand = async (input, context) => {
9987
+ const b = (0, core_2.requestBuilder)(input, context);
9988
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9989
+ [_xw]: input[_wi],
9990
+ [_xoi]: input[_oi],
9991
+ });
9992
+ b.bp("/webhook/event/{event}");
9993
+ b.p('event', () => input.event, '{event}', false);
9994
+ let body;
9995
+ b.m("GET")
9996
+ .h(headers)
9997
+ .b(body);
9998
+ return b.build();
9999
+ };
10000
+ Aws_restJson1.se_GetWebhookByEventCommand = se_GetWebhookByEventCommand;
10001
+ const se_GetWorkspaceCommand = async (input, context) => {
10002
+ const b = (0, core_2.requestBuilder)(input, context);
10003
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10004
+ [_xoi]: input[_oi],
10005
+ });
10006
+ b.bp("/workspaces/{workspace_name}");
10007
+ b.p('workspace_name', () => input.workspace_name, '{workspace_name}', false);
10008
+ let body;
10009
+ b.m("GET")
10010
+ .h(headers)
10011
+ .b(body);
10012
+ return b.build();
10013
+ };
10014
+ Aws_restJson1.se_GetWorkspaceCommand = se_GetWorkspaceCommand;
9986
10015
  const se_ListAuditLogsCommand = async (input, context) => {
9987
10016
  const b = (0, core_2.requestBuilder)(input, context);
9988
10017
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
9989
- [_xt]: input[_wi],
10018
+ [_xw]: input[_wi],
9990
10019
  [_xoi]: input[_oi],
9991
10020
  });
9992
10021
  b.bp("/audit");
@@ -9996,9 +10025,10 @@ function requireAws_restJson1 () {
9996
10025
  [_a]: [() => input.all !== void 0, () => (input[_a].toString())],
9997
10026
  [_fd]: [() => input.from_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_fd]).toString())],
9998
10027
  [_td]: [() => input.to_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_td]).toString())],
9999
- [_ta]: [, input[_t]],
10000
- [_ac]: [, input[_ac]],
10028
+ [_ta]: [() => input.tables !== void 0, () => ((input[_t] || []))],
10029
+ [_ac]: [() => input.action !== void 0, () => ((input[_ac] || []))],
10001
10030
  [_u]: [, input[_u]],
10031
+ [_sb]: [, input[_sb]],
10002
10032
  });
10003
10033
  let body;
10004
10034
  b.m("GET")
@@ -10011,19 +10041,19 @@ function requireAws_restJson1 () {
10011
10041
  const se_ListContextsCommand = async (input, context) => {
10012
10042
  const b = (0, core_2.requestBuilder)(input, context);
10013
10043
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10014
- [_xt]: input[_wi],
10044
+ [_xw]: input[_wi],
10015
10045
  [_xoi]: input[_oi],
10016
10046
  });
10017
- b.bp("/context/list");
10047
+ b.bp("/context");
10018
10048
  const query = (0, smithy_client_1.map)({
10019
- [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10020
10049
  [_c]: [() => input.count !== void 0, () => (input[_c].toString())],
10050
+ [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10021
10051
  [_a]: [() => input.all !== void 0, () => (input[_a].toString())],
10022
- [_p]: [, input[_p]],
10052
+ [_p]: [() => input.prefix !== void 0, () => ((input[_p] || []))],
10023
10053
  [_so]: [, input[_so]],
10024
10054
  [_sb]: [, input[_sb]],
10025
- [_cb]: [, input[_cb]],
10026
- [_lmb]: [, input[_lmb]],
10055
+ [_cb]: [() => input.created_by !== void 0, () => ((input[_cb] || []))],
10056
+ [_lmb]: [() => input.last_modified_by !== void 0, () => ((input[_lmb] || []))],
10027
10057
  [_pl]: [, input[_pl]],
10028
10058
  [_dms]: [, input[_dms]],
10029
10059
  });
@@ -10038,7 +10068,7 @@ function requireAws_restJson1 () {
10038
10068
  const se_ListDefaultConfigsCommand = async (input, context) => {
10039
10069
  const b = (0, core_2.requestBuilder)(input, context);
10040
10070
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10041
- [_xt]: input[_wi],
10071
+ [_xw]: input[_wi],
10042
10072
  [_xoi]: input[_oi],
10043
10073
  });
10044
10074
  b.bp("/default-config");
@@ -10046,6 +10076,7 @@ function requireAws_restJson1 () {
10046
10076
  [_c]: [() => input.count !== void 0, () => (input[_c].toString())],
10047
10077
  [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10048
10078
  [_a]: [() => input.all !== void 0, () => (input[_a].toString())],
10079
+ [_n]: [, input[_n]],
10049
10080
  });
10050
10081
  let body;
10051
10082
  b.m("GET")
@@ -10058,7 +10089,7 @@ function requireAws_restJson1 () {
10058
10089
  const se_ListDimensionsCommand = async (input, context) => {
10059
10090
  const b = (0, core_2.requestBuilder)(input, context);
10060
10091
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10061
- [_xt]: input[_wi],
10092
+ [_xw]: input[_wi],
10062
10093
  [_xoi]: input[_oi],
10063
10094
  });
10064
10095
  b.bp("/dimension");
@@ -10078,21 +10109,21 @@ function requireAws_restJson1 () {
10078
10109
  const se_ListExperimentCommand = async (input, context) => {
10079
10110
  const b = (0, core_2.requestBuilder)(input, context);
10080
10111
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10081
- [_xt]: input[_wi],
10112
+ [_xw]: input[_wi],
10082
10113
  [_xoi]: input[_oi],
10083
10114
  });
10084
10115
  b.bp("/experiments");
10085
10116
  const query = (0, smithy_client_1.map)({
10086
- [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10087
10117
  [_c]: [() => input.count !== void 0, () => (input[_c].toString())],
10118
+ [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10088
10119
  [_a]: [() => input.all !== void 0, () => (input[_a].toString())],
10089
- [_s]: [, input[_s]],
10120
+ [_s]: [() => input.status !== void 0, () => ((input[_s] || []))],
10090
10121
  [_fd]: [() => input.from_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_fd]).toString())],
10091
10122
  [_td]: [() => input.to_date !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_td]).toString())],
10092
10123
  [_en]: [, input[_en]],
10093
- [_ei]: [, input[_ei]],
10094
- [_egi]: [, input[_egi]],
10095
- [_cb]: [, input[_cb]],
10124
+ [_ei]: [() => input.experiment_ids !== void 0, () => ((input[_ei] || []))],
10125
+ [_egi]: [() => input.experiment_group_ids !== void 0, () => ((input[_egi] || []))],
10126
+ [_cb]: [() => input.created_by !== void 0, () => ((input[_cb] || []))],
10096
10127
  [_so]: [, input[_so]],
10097
10128
  [_sb]: [, input[_sb]],
10098
10129
  [_geo]: [() => input.global_experiments_only !== void 0, () => (input[_geo].toString())],
@@ -10109,20 +10140,20 @@ function requireAws_restJson1 () {
10109
10140
  const se_ListExperimentGroupsCommand = async (input, context) => {
10110
10141
  const b = (0, core_2.requestBuilder)(input, context);
10111
10142
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10112
- [_xt]: input[_wi],
10143
+ [_xw]: input[_wi],
10113
10144
  [_xoi]: input[_oi],
10114
10145
  });
10115
10146
  b.bp("/experiment-groups");
10116
10147
  const query = (0, smithy_client_1.map)({
10117
- [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10118
10148
  [_c]: [() => input.count !== void 0, () => (input[_c].toString())],
10149
+ [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10150
+ [_a]: [() => input.all !== void 0, () => (input[_a].toString())],
10119
10151
  [_n]: [, input[_n]],
10120
10152
  [_cb]: [, input[_cb]],
10121
10153
  [_lmb]: [, input[_lmb]],
10122
10154
  [_so]: [, input[_so]],
10123
10155
  [_sb]: [, input[_sb]],
10124
- [_a]: [() => input.all !== void 0, () => (input[_a].toString())],
10125
- [_gt]: [, input[_gt]],
10156
+ [_gt]: [() => input.group_type !== void 0, () => ((input[_gt] || []))],
10126
10157
  });
10127
10158
  let body;
10128
10159
  b.m("GET")
@@ -10135,7 +10166,7 @@ function requireAws_restJson1 () {
10135
10166
  const se_ListFunctionCommand = async (input, context) => {
10136
10167
  const b = (0, core_2.requestBuilder)(input, context);
10137
10168
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10138
- [_xt]: input[_wi],
10169
+ [_xw]: input[_wi],
10139
10170
  [_xoi]: input[_oi],
10140
10171
  });
10141
10172
  b.bp("/function");
@@ -10143,6 +10174,7 @@ function requireAws_restJson1 () {
10143
10174
  [_c]: [() => input.count !== void 0, () => (input[_c].toString())],
10144
10175
  [_pa]: [() => input.page !== void 0, () => (input[_pa].toString())],
10145
10176
  [_a]: [() => input.all !== void 0, () => (input[_a].toString())],
10177
+ [_ft]: [() => input.function_type !== void 0, () => ((input[_ft] || []))],
10146
10178
  });
10147
10179
  let body;
10148
10180
  b.m("GET")
@@ -10172,7 +10204,7 @@ function requireAws_restJson1 () {
10172
10204
  const se_ListVersionsCommand = async (input, context) => {
10173
10205
  const b = (0, core_2.requestBuilder)(input, context);
10174
10206
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10175
- [_xt]: input[_wi],
10207
+ [_xw]: input[_wi],
10176
10208
  [_xoi]: input[_oi],
10177
10209
  });
10178
10210
  b.bp("/config/versions");
@@ -10191,7 +10223,7 @@ function requireAws_restJson1 () {
10191
10223
  const se_ListWebhookCommand = async (input, context) => {
10192
10224
  const b = (0, core_2.requestBuilder)(input, context);
10193
10225
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10194
- [_xt]: input[_wi],
10226
+ [_xw]: input[_wi],
10195
10227
  [_xoi]: input[_oi],
10196
10228
  });
10197
10229
  b.bp("/webhook");
@@ -10245,7 +10277,7 @@ function requireAws_restJson1 () {
10245
10277
  const b = (0, core_2.requestBuilder)(input, context);
10246
10278
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10247
10279
  'content-type': 'application/json',
10248
- [_xt]: input[_wi],
10280
+ [_xw]: input[_wi],
10249
10281
  [_xoi]: input[_oi],
10250
10282
  });
10251
10283
  b.bp("/context/move/{id}");
@@ -10266,7 +10298,7 @@ function requireAws_restJson1 () {
10266
10298
  const b = (0, core_2.requestBuilder)(input, context);
10267
10299
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10268
10300
  'content-type': 'application/json',
10269
- [_xt]: input[_wi],
10301
+ [_xw]: input[_wi],
10270
10302
  [_xoi]: input[_oi],
10271
10303
  });
10272
10304
  b.bp("/experiments/{id}/pause");
@@ -10285,7 +10317,7 @@ function requireAws_restJson1 () {
10285
10317
  const b = (0, core_2.requestBuilder)(input, context);
10286
10318
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10287
10319
  'content-type': 'application/json',
10288
- [_xt]: input[_wi],
10320
+ [_xw]: input[_wi],
10289
10321
  [_xoi]: input[_oi],
10290
10322
  });
10291
10323
  b.bp("/function/{function_name}/publish");
@@ -10304,7 +10336,7 @@ function requireAws_restJson1 () {
10304
10336
  const b = (0, core_2.requestBuilder)(input, context);
10305
10337
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10306
10338
  'content-type': 'application/json',
10307
- [_xt]: input[_wi],
10339
+ [_xw]: input[_wi],
10308
10340
  [_xoi]: input[_oi],
10309
10341
  });
10310
10342
  b.bp("/experiments/{id}/ramp");
@@ -10324,7 +10356,7 @@ function requireAws_restJson1 () {
10324
10356
  const b = (0, core_2.requestBuilder)(input, context);
10325
10357
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10326
10358
  'content-type': 'application/json',
10327
- [_xt]: input[_wi],
10359
+ [_xw]: input[_wi],
10328
10360
  [_xoi]: input[_oi],
10329
10361
  });
10330
10362
  b.bp("/experiment-groups/{id}/remove-members");
@@ -10344,7 +10376,7 @@ function requireAws_restJson1 () {
10344
10376
  const b = (0, core_2.requestBuilder)(input, context);
10345
10377
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10346
10378
  'content-type': 'application/json',
10347
- [_xt]: input[_wi],
10379
+ [_xw]: input[_wi],
10348
10380
  [_xoi]: input[_oi],
10349
10381
  });
10350
10382
  b.bp("/experiments/{id}/resume");
@@ -10363,7 +10395,7 @@ function requireAws_restJson1 () {
10363
10395
  const b = (0, core_2.requestBuilder)(input, context);
10364
10396
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10365
10397
  'content-type': 'application/json',
10366
- [_xt]: input[_wi],
10398
+ [_xw]: input[_wi],
10367
10399
  [_xoi]: input[_oi],
10368
10400
  });
10369
10401
  b.bp("/function/{function_name}/{stage}/test");
@@ -10387,7 +10419,7 @@ function requireAws_restJson1 () {
10387
10419
  const b = (0, core_2.requestBuilder)(input, context);
10388
10420
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10389
10421
  'content-type': 'application/json',
10390
- [_xt]: input[_wi],
10422
+ [_xw]: input[_wi],
10391
10423
  [_xoi]: input[_oi],
10392
10424
  });
10393
10425
  b.bp("/default-config/{key}");
@@ -10401,7 +10433,7 @@ function requireAws_restJson1 () {
10401
10433
  'schema': _ => se_Object(_),
10402
10434
  'value': _ => se_Document(_),
10403
10435
  }));
10404
- b.m("PUT")
10436
+ b.m("PATCH")
10405
10437
  .h(headers)
10406
10438
  .b(body);
10407
10439
  return b.build();
@@ -10411,7 +10443,7 @@ function requireAws_restJson1 () {
10411
10443
  const b = (0, core_2.requestBuilder)(input, context);
10412
10444
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10413
10445
  'content-type': 'application/json',
10414
- [_xt]: input[_wi],
10446
+ [_xw]: input[_wi],
10415
10447
  [_xoi]: input[_oi],
10416
10448
  });
10417
10449
  b.bp("/dimension/{dimension}");
@@ -10425,7 +10457,7 @@ function requireAws_restJson1 () {
10425
10457
  'position': [],
10426
10458
  'schema': _ => se_Object(_),
10427
10459
  }));
10428
- b.m("PUT")
10460
+ b.m("PATCH")
10429
10461
  .h(headers)
10430
10462
  .b(body);
10431
10463
  return b.build();
@@ -10435,7 +10467,7 @@ function requireAws_restJson1 () {
10435
10467
  const b = (0, core_2.requestBuilder)(input, context);
10436
10468
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10437
10469
  'content-type': 'application/json',
10438
- [_xt]: input[_wi],
10470
+ [_xw]: input[_wi],
10439
10471
  [_xoi]: input[_oi],
10440
10472
  });
10441
10473
  b.bp("/experiment-groups/{id}");
@@ -10456,7 +10488,7 @@ function requireAws_restJson1 () {
10456
10488
  const b = (0, core_2.requestBuilder)(input, context);
10457
10489
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10458
10490
  'content-type': 'application/json',
10459
- [_xt]: input[_wi],
10491
+ [_xw]: input[_wi],
10460
10492
  [_xoi]: input[_oi],
10461
10493
  });
10462
10494
  b.bp("/function/{function_name}");
@@ -10490,7 +10522,7 @@ function requireAws_restJson1 () {
10490
10522
  'sector': [],
10491
10523
  'status': [],
10492
10524
  }));
10493
- b.m("PUT")
10525
+ b.m("PATCH")
10494
10526
  .h(headers)
10495
10527
  .b(body);
10496
10528
  return b.build();
@@ -10500,7 +10532,7 @@ function requireAws_restJson1 () {
10500
10532
  const b = (0, core_2.requestBuilder)(input, context);
10501
10533
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10502
10534
  'content-type': 'application/json',
10503
- [_xt]: input[_wi],
10535
+ [_xw]: input[_wi],
10504
10536
  [_xoi]: input[_oi],
10505
10537
  [_xct]: input[_ct],
10506
10538
  });
@@ -10523,7 +10555,7 @@ function requireAws_restJson1 () {
10523
10555
  const b = (0, core_2.requestBuilder)(input, context);
10524
10556
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10525
10557
  'content-type': 'application/json',
10526
- [_xt]: input[_wi],
10558
+ [_xw]: input[_wi],
10527
10559
  [_xoi]: input[_oi],
10528
10560
  });
10529
10561
  b.bp("/experiments/{id}/overrides");
@@ -10536,7 +10568,7 @@ function requireAws_restJson1 () {
10536
10568
  'metrics': _ => se_Document(_),
10537
10569
  'variant_list': _ => se_ListVariantUpdateRequest(_),
10538
10570
  }));
10539
- b.m("PUT")
10571
+ b.m("PATCH")
10540
10572
  .h(headers)
10541
10573
  .b(body);
10542
10574
  return b.build();
@@ -10546,7 +10578,7 @@ function requireAws_restJson1 () {
10546
10578
  const b = (0, core_2.requestBuilder)(input, context);
10547
10579
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10548
10580
  'content-type': 'application/json',
10549
- [_xt]: input[_wi],
10581
+ [_xw]: input[_wi],
10550
10582
  [_xoi]: input[_oi],
10551
10583
  });
10552
10584
  b.bp("/types/{type_name}");
@@ -10557,7 +10589,7 @@ function requireAws_restJson1 () {
10557
10589
  'description': [],
10558
10590
  'type_schema': _ => se_Object(_),
10559
10591
  }));
10560
- b.m("PUT")
10592
+ b.m("PATCH")
10561
10593
  .h(headers)
10562
10594
  .b(body);
10563
10595
  return b.build();
@@ -10567,7 +10599,7 @@ function requireAws_restJson1 () {
10567
10599
  const b = (0, core_2.requestBuilder)(input, context);
10568
10600
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10569
10601
  'content-type': 'application/json',
10570
- [_xt]: input[_wi],
10602
+ [_xw]: input[_wi],
10571
10603
  [_xoi]: input[_oi],
10572
10604
  });
10573
10605
  b.bp("/webhook/{name}");
@@ -10607,16 +10639,34 @@ function requireAws_restJson1 () {
10607
10639
  'workspace_admin_email': [],
10608
10640
  'workspace_status': [],
10609
10641
  }));
10610
- b.m("PUT")
10642
+ b.m("PATCH")
10611
10643
  .h(headers)
10612
10644
  .b(body);
10613
10645
  return b.build();
10614
10646
  };
10615
10647
  Aws_restJson1.se_UpdateWorkspaceCommand = se_UpdateWorkspaceCommand;
10648
+ const se_ValidateContextCommand = async (input, context) => {
10649
+ const b = (0, core_2.requestBuilder)(input, context);
10650
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10651
+ 'content-type': 'application/json',
10652
+ [_xw]: input[_wi],
10653
+ [_xoi]: input[_oi],
10654
+ });
10655
+ b.bp("/context/validate");
10656
+ let body;
10657
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
10658
+ 'context': _ => se_Condition(_),
10659
+ }));
10660
+ b.m("PUT")
10661
+ .h(headers)
10662
+ .b(body);
10663
+ return b.build();
10664
+ };
10665
+ Aws_restJson1.se_ValidateContextCommand = se_ValidateContextCommand;
10616
10666
  const se_WeightRecomputeCommand = async (input, context) => {
10617
10667
  const b = (0, core_2.requestBuilder)(input, context);
10618
10668
  const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
10619
- [_xt]: input[_wi],
10669
+ [_xw]: input[_wi],
10620
10670
  [_xoi]: input[_oi],
10621
10671
  [_xct]: input[_ct],
10622
10672
  });
@@ -11086,6 +11136,17 @@ function requireAws_restJson1 () {
11086
11136
  return contents;
11087
11137
  };
11088
11138
  Aws_restJson1.de_DeleteTypeTemplatesCommand = de_DeleteTypeTemplatesCommand;
11139
+ const de_DeleteWebhookCommand = async (output, context) => {
11140
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
11141
+ return de_CommandError(output, context);
11142
+ }
11143
+ const contents = (0, smithy_client_1.map)({
11144
+ $metadata: deserializeMetadata(output),
11145
+ });
11146
+ await (0, smithy_client_1.collectBody)(output.body, context);
11147
+ return contents;
11148
+ };
11149
+ Aws_restJson1.de_DeleteWebhookCommand = de_DeleteWebhookCommand;
11089
11150
  const de_DiscardExperimentCommand = async (output, context) => {
11090
11151
  if (output.statusCode !== 200 && output.statusCode >= 300) {
11091
11152
  return de_CommandError(output, context);
@@ -11207,6 +11268,31 @@ function requireAws_restJson1 () {
11207
11268
  return contents;
11208
11269
  };
11209
11270
  Aws_restJson1.de_GetContextFromConditionCommand = de_GetContextFromConditionCommand;
11271
+ const de_GetDefaultConfigCommand = async (output, context) => {
11272
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11273
+ return de_CommandError(output, context);
11274
+ }
11275
+ const contents = (0, smithy_client_1.map)({
11276
+ $metadata: deserializeMetadata(output),
11277
+ });
11278
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11279
+ const doc = (0, smithy_client_1.take)(data, {
11280
+ 'autocomplete_function_name': smithy_client_1.expectString,
11281
+ 'change_reason': smithy_client_1.expectString,
11282
+ 'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11283
+ 'created_by': smithy_client_1.expectString,
11284
+ 'description': smithy_client_1.expectString,
11285
+ 'function_name': smithy_client_1.expectString,
11286
+ 'key': smithy_client_1.expectString,
11287
+ 'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11288
+ 'last_modified_by': smithy_client_1.expectString,
11289
+ 'schema': _ => de_Object(_),
11290
+ 'value': _ => de_Document(_),
11291
+ });
11292
+ Object.assign(contents, doc);
11293
+ return contents;
11294
+ };
11295
+ Aws_restJson1.de_GetDefaultConfigCommand = de_GetDefaultConfigCommand;
11210
11296
  const de_GetDimensionCommand = async (output, context) => {
11211
11297
  if (output.statusCode !== 200 && output.statusCode >= 300) {
11212
11298
  return de_CommandError(output, context);
@@ -11367,6 +11453,28 @@ function requireAws_restJson1 () {
11367
11453
  return contents;
11368
11454
  };
11369
11455
  Aws_restJson1.de_GetResolvedConfigCommand = de_GetResolvedConfigCommand;
11456
+ const de_GetTypeTemplateCommand = async (output, context) => {
11457
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11458
+ return de_CommandError(output, context);
11459
+ }
11460
+ const contents = (0, smithy_client_1.map)({
11461
+ $metadata: deserializeMetadata(output),
11462
+ });
11463
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11464
+ const doc = (0, smithy_client_1.take)(data, {
11465
+ 'change_reason': smithy_client_1.expectString,
11466
+ 'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11467
+ 'created_by': smithy_client_1.expectString,
11468
+ 'description': smithy_client_1.expectString,
11469
+ 'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11470
+ 'last_modified_by': smithy_client_1.expectString,
11471
+ 'type_name': smithy_client_1.expectString,
11472
+ 'type_schema': _ => de_Object(_),
11473
+ });
11474
+ Object.assign(contents, doc);
11475
+ return contents;
11476
+ };
11477
+ Aws_restJson1.de_GetTypeTemplateCommand = de_GetTypeTemplateCommand;
11370
11478
  const de_GetTypeTemplatesListCommand = async (output, context) => {
11371
11479
  if (output.statusCode !== 200 && output.statusCode >= 300) {
11372
11480
  return de_CommandError(output, context);
@@ -11384,6 +11492,26 @@ function requireAws_restJson1 () {
11384
11492
  return contents;
11385
11493
  };
11386
11494
  Aws_restJson1.de_GetTypeTemplatesListCommand = de_GetTypeTemplatesListCommand;
11495
+ const de_GetVersionCommand = async (output, context) => {
11496
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11497
+ return de_CommandError(output, context);
11498
+ }
11499
+ const contents = (0, smithy_client_1.map)({
11500
+ $metadata: deserializeMetadata(output),
11501
+ });
11502
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11503
+ const doc = (0, smithy_client_1.take)(data, {
11504
+ 'config': _ => de_Document(_),
11505
+ 'config_hash': smithy_client_1.expectString,
11506
+ 'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11507
+ 'description': smithy_client_1.expectString,
11508
+ 'id': smithy_client_1.expectString,
11509
+ 'tags': smithy_client_1._json,
11510
+ });
11511
+ Object.assign(contents, doc);
11512
+ return contents;
11513
+ };
11514
+ Aws_restJson1.de_GetVersionCommand = de_GetVersionCommand;
11387
11515
  const de_GetWebhookCommand = async (output, context) => {
11388
11516
  if (output.statusCode !== 200 && output.statusCode >= 300) {
11389
11517
  return de_CommandError(output, context);
@@ -11413,6 +11541,65 @@ function requireAws_restJson1 () {
11413
11541
  return contents;
11414
11542
  };
11415
11543
  Aws_restJson1.de_GetWebhookCommand = de_GetWebhookCommand;
11544
+ const de_GetWebhookByEventCommand = async (output, context) => {
11545
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11546
+ return de_CommandError(output, context);
11547
+ }
11548
+ const contents = (0, smithy_client_1.map)({
11549
+ $metadata: deserializeMetadata(output),
11550
+ });
11551
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11552
+ const doc = (0, smithy_client_1.take)(data, {
11553
+ 'change_reason': smithy_client_1.expectString,
11554
+ 'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11555
+ 'created_by': smithy_client_1.expectString,
11556
+ 'custom_headers': _ => de_Object(_),
11557
+ 'description': smithy_client_1.expectString,
11558
+ 'enabled': smithy_client_1.expectBoolean,
11559
+ 'events': smithy_client_1._json,
11560
+ 'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11561
+ 'last_modified_by': smithy_client_1.expectString,
11562
+ 'last_triggered_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11563
+ 'max_retries': smithy_client_1.expectInt32,
11564
+ 'method': smithy_client_1.expectString,
11565
+ 'name': smithy_client_1.expectString,
11566
+ 'url': smithy_client_1.expectString,
11567
+ 'version': smithy_client_1.expectString,
11568
+ });
11569
+ Object.assign(contents, doc);
11570
+ return contents;
11571
+ };
11572
+ Aws_restJson1.de_GetWebhookByEventCommand = de_GetWebhookByEventCommand;
11573
+ const de_GetWorkspaceCommand = async (output, context) => {
11574
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11575
+ return de_CommandError(output, context);
11576
+ }
11577
+ const contents = (0, smithy_client_1.map)({
11578
+ $metadata: deserializeMetadata(output),
11579
+ });
11580
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11581
+ const doc = (0, smithy_client_1.take)(data, {
11582
+ 'allow_experiment_self_approval': smithy_client_1.expectBoolean,
11583
+ 'auto_populate_control': smithy_client_1.expectBoolean,
11584
+ 'config_version': smithy_client_1.expectString,
11585
+ 'created_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11586
+ 'created_by': smithy_client_1.expectString,
11587
+ 'last_modified_at': _ => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
11588
+ 'last_modified_by': smithy_client_1.expectString,
11589
+ 'mandatory_dimensions': smithy_client_1._json,
11590
+ 'metrics': _ => de_Document(_),
11591
+ 'organisation_id': smithy_client_1.expectString,
11592
+ 'organisation_name': smithy_client_1.expectString,
11593
+ 'strict_mode': smithy_client_1.expectBoolean,
11594
+ 'workspace_admin_email': smithy_client_1.expectString,
11595
+ 'workspace_name': smithy_client_1.expectString,
11596
+ 'workspace_schema_name': smithy_client_1.expectString,
11597
+ 'workspace_status': smithy_client_1.expectString,
11598
+ });
11599
+ Object.assign(contents, doc);
11600
+ return contents;
11601
+ };
11602
+ Aws_restJson1.de_GetWorkspaceCommand = de_GetWorkspaceCommand;
11416
11603
  const de_ListAuditLogsCommand = async (output, context) => {
11417
11604
  if (output.statusCode !== 200 && output.statusCode >= 300) {
11418
11605
  return de_CommandError(output, context);
@@ -11491,8 +11678,8 @@ function requireAws_restJson1 () {
11491
11678
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11492
11679
  const doc = (0, smithy_client_1.take)(data, {
11493
11680
  'data': _ => de_ExperimentList(_),
11494
- 'total_items': smithy_client_1.expectLong,
11495
- 'total_pages': smithy_client_1.expectLong,
11681
+ 'total_items': smithy_client_1.expectInt32,
11682
+ 'total_pages': smithy_client_1.expectInt32,
11496
11683
  });
11497
11684
  Object.assign(contents, doc);
11498
11685
  return contents;
@@ -11508,8 +11695,8 @@ function requireAws_restJson1 () {
11508
11695
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11509
11696
  const doc = (0, smithy_client_1.take)(data, {
11510
11697
  'data': _ => de_ExperimentGroupList(_),
11511
- 'total_items': smithy_client_1.expectLong,
11512
- 'total_pages': smithy_client_1.expectLong,
11698
+ 'total_items': smithy_client_1.expectInt32,
11699
+ 'total_pages': smithy_client_1.expectInt32,
11513
11700
  });
11514
11701
  Object.assign(contents, doc);
11515
11702
  return contents;
@@ -11576,8 +11763,8 @@ function requireAws_restJson1 () {
11576
11763
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11577
11764
  const doc = (0, smithy_client_1.take)(data, {
11578
11765
  'data': _ => de_WebhookList(_),
11579
- 'total_items': smithy_client_1.expectLong,
11580
- 'total_pages': smithy_client_1.expectLong,
11766
+ 'total_items': smithy_client_1.expectInt32,
11767
+ 'total_pages': smithy_client_1.expectInt32,
11581
11768
  });
11582
11769
  Object.assign(contents, doc);
11583
11770
  return contents;
@@ -11593,8 +11780,8 @@ function requireAws_restJson1 () {
11593
11780
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
11594
11781
  const doc = (0, smithy_client_1.take)(data, {
11595
11782
  'data': _ => de_WorkspaceList(_),
11596
- 'total_items': smithy_client_1.expectLong,
11597
- 'total_pages': smithy_client_1.expectLong,
11783
+ 'total_items': smithy_client_1.expectInt32,
11784
+ 'total_pages': smithy_client_1.expectInt32,
11598
11785
  });
11599
11786
  Object.assign(contents, doc);
11600
11787
  return contents;
@@ -12105,6 +12292,17 @@ function requireAws_restJson1 () {
12105
12292
  return contents;
12106
12293
  };
12107
12294
  Aws_restJson1.de_UpdateWorkspaceCommand = de_UpdateWorkspaceCommand;
12295
+ const de_ValidateContextCommand = async (output, context) => {
12296
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
12297
+ return de_CommandError(output, context);
12298
+ }
12299
+ const contents = (0, smithy_client_1.map)({
12300
+ $metadata: deserializeMetadata(output),
12301
+ });
12302
+ await (0, smithy_client_1.collectBody)(output.body, context);
12303
+ return contents;
12304
+ };
12305
+ Aws_restJson1.de_ValidateContextCommand = de_ValidateContextCommand;
12108
12306
  const de_WeightRecomputeCommand = async (output, context) => {
12109
12307
  if (output.statusCode !== 200 && output.statusCode >= 300) {
12110
12308
  return de_CommandError(output, context);
@@ -12133,21 +12331,6 @@ function requireAws_restJson1 () {
12133
12331
  case "ResourceNotFound":
12134
12332
  case "io.superposition#ResourceNotFound":
12135
12333
  throw await de_ResourceNotFoundRes(parsedOutput);
12136
- case "FunctionNotFound":
12137
- case "io.superposition#FunctionNotFound":
12138
- throw await de_FunctionNotFoundRes(parsedOutput);
12139
- case "TypeTemplatesNotFound":
12140
- case "io.superposition#TypeTemplatesNotFound":
12141
- throw await de_TypeTemplatesNotFoundRes(parsedOutput);
12142
- case "OrganisationNotFound":
12143
- case "io.superposition#OrganisationNotFound":
12144
- throw await de_OrganisationNotFoundRes(parsedOutput);
12145
- case "WebhookNotFound":
12146
- case "io.superposition#WebhookNotFound":
12147
- throw await de_WebhookNotFoundRes(parsedOutput);
12148
- case "WorkspaceNotFound":
12149
- case "io.superposition#WorkspaceNotFound":
12150
- throw await de_WorkspaceNotFoundRes(parsedOutput);
12151
12334
  default:
12152
12335
  const parsedBody = parsedOutput.body;
12153
12336
  return throwDefaultError({
@@ -12158,17 +12341,6 @@ function requireAws_restJson1 () {
12158
12341
  }
12159
12342
  };
12160
12343
  const throwDefaultError = (0, smithy_client_1.withBaseException)(SuperpositionServiceException_1.SuperpositionServiceException);
12161
- const de_FunctionNotFoundRes = async (parsedOutput, context) => {
12162
- const contents = (0, smithy_client_1.map)({});
12163
- const data = parsedOutput.body;
12164
- const doc = (0, smithy_client_1.take)(data, {});
12165
- Object.assign(contents, doc);
12166
- const exception = new models_0_1.FunctionNotFound({
12167
- $metadata: deserializeMetadata(parsedOutput),
12168
- ...contents
12169
- });
12170
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
12171
- };
12172
12344
  const de_InternalServerErrorRes = async (parsedOutput, context) => {
12173
12345
  const contents = (0, smithy_client_1.map)({});
12174
12346
  const data = parsedOutput.body;
@@ -12182,17 +12354,6 @@ function requireAws_restJson1 () {
12182
12354
  });
12183
12355
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
12184
12356
  };
12185
- const de_OrganisationNotFoundRes = async (parsedOutput, context) => {
12186
- const contents = (0, smithy_client_1.map)({});
12187
- const data = parsedOutput.body;
12188
- const doc = (0, smithy_client_1.take)(data, {});
12189
- Object.assign(contents, doc);
12190
- const exception = new models_0_1.OrganisationNotFound({
12191
- $metadata: deserializeMetadata(parsedOutput),
12192
- ...contents
12193
- });
12194
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
12195
- };
12196
12357
  const de_ResourceNotFoundRes = async (parsedOutput, context) => {
12197
12358
  const contents = (0, smithy_client_1.map)({});
12198
12359
  const data = parsedOutput.body;
@@ -12204,39 +12365,6 @@ function requireAws_restJson1 () {
12204
12365
  });
12205
12366
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
12206
12367
  };
12207
- const de_TypeTemplatesNotFoundRes = async (parsedOutput, context) => {
12208
- const contents = (0, smithy_client_1.map)({});
12209
- const data = parsedOutput.body;
12210
- const doc = (0, smithy_client_1.take)(data, {});
12211
- Object.assign(contents, doc);
12212
- const exception = new models_0_1.TypeTemplatesNotFound({
12213
- $metadata: deserializeMetadata(parsedOutput),
12214
- ...contents
12215
- });
12216
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
12217
- };
12218
- const de_WebhookNotFoundRes = async (parsedOutput, context) => {
12219
- const contents = (0, smithy_client_1.map)({});
12220
- const data = parsedOutput.body;
12221
- const doc = (0, smithy_client_1.take)(data, {});
12222
- Object.assign(contents, doc);
12223
- const exception = new models_0_1.WebhookNotFound({
12224
- $metadata: deserializeMetadata(parsedOutput),
12225
- ...contents
12226
- });
12227
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
12228
- };
12229
- const de_WorkspaceNotFoundRes = async (parsedOutput, context) => {
12230
- const contents = (0, smithy_client_1.map)({});
12231
- const data = parsedOutput.body;
12232
- const doc = (0, smithy_client_1.take)(data, {});
12233
- Object.assign(contents, doc);
12234
- const exception = new models_0_1.WorkspaceNotFound({
12235
- $metadata: deserializeMetadata(parsedOutput),
12236
- ...contents
12237
- });
12238
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
12239
- };
12240
12368
  const se_AutocompleteFunctionRequest = (input, context) => {
12241
12369
  return (0, smithy_client_1.take)(input, {
12242
12370
  'environment': _ => se_Document(_),
@@ -12623,7 +12751,6 @@ function requireAws_restJson1 () {
12623
12751
  const de_ListVersionsMember = (output, context) => {
12624
12752
  return (0, smithy_client_1.take)(output, {
12625
12753
  'config': (_) => de_Document(_),
12626
- 'config_hash': smithy_client_1.expectString,
12627
12754
  'created_at': (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
12628
12755
  'description': smithy_client_1.expectString,
12629
12756
  'id': smithy_client_1.expectString,
@@ -12799,6 +12926,7 @@ function requireAws_restJson1 () {
12799
12926
  const _ei = "experiment_ids";
12800
12927
  const _en = "experiment_name";
12801
12928
  const _fd = "from_date";
12929
+ const _ft = "function_type";
12802
12930
  const _geo = "global_experiments_only";
12803
12931
  const _gt = "group_type";
12804
12932
  const _lm = "last-modified";
@@ -12825,7 +12953,7 @@ function requireAws_restJson1 () {
12825
12953
  const _xcv = "x-config-version";
12826
12954
  const _xms = "x-merge-strategy";
12827
12955
  const _xoi = "x-org-id";
12828
- const _xt = "x-tenant";
12956
+ const _xw = "x-workspace";
12829
12957
  return Aws_restJson1;
12830
12958
  }
12831
12959
 
@@ -12841,7 +12969,7 @@ function requireAddMembersToGroupCommand () {
12841
12969
  exports.AddMembersToGroupCommand = exports.$Command = void 0;
12842
12970
  const Aws_restJson1_1 = requireAws_restJson1();
12843
12971
  const middleware_serde_1 = require$$1;
12844
- const smithy_client_1 = require$$64;
12972
+ const smithy_client_1 = require$$71;
12845
12973
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
12846
12974
  class AddMembersToGroupCommand extends smithy_client_1.Command.classBuilder()
12847
12975
  .m(function (Command, cs, config, o) {
@@ -12873,7 +13001,7 @@ function requireApplicableVariantsCommand () {
12873
13001
  exports.ApplicableVariantsCommand = exports.$Command = void 0;
12874
13002
  const Aws_restJson1_1 = requireAws_restJson1();
12875
13003
  const middleware_serde_1 = require$$1;
12876
- const smithy_client_1 = require$$64;
13004
+ const smithy_client_1 = require$$71;
12877
13005
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
12878
13006
  class ApplicableVariantsCommand extends smithy_client_1.Command.classBuilder()
12879
13007
  .m(function (Command, cs, config, o) {
@@ -12905,7 +13033,7 @@ function requireBulkOperationCommand () {
12905
13033
  exports.BulkOperationCommand = exports.$Command = void 0;
12906
13034
  const Aws_restJson1_1 = requireAws_restJson1();
12907
13035
  const middleware_serde_1 = require$$1;
12908
- const smithy_client_1 = require$$64;
13036
+ const smithy_client_1 = require$$71;
12909
13037
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
12910
13038
  class BulkOperationCommand extends smithy_client_1.Command.classBuilder()
12911
13039
  .m(function (Command, cs, config, o) {
@@ -12937,7 +13065,7 @@ function requireConcludeExperimentCommand () {
12937
13065
  exports.ConcludeExperimentCommand = exports.$Command = void 0;
12938
13066
  const Aws_restJson1_1 = requireAws_restJson1();
12939
13067
  const middleware_serde_1 = require$$1;
12940
- const smithy_client_1 = require$$64;
13068
+ const smithy_client_1 = require$$71;
12941
13069
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
12942
13070
  class ConcludeExperimentCommand extends smithy_client_1.Command.classBuilder()
12943
13071
  .m(function (Command, cs, config, o) {
@@ -12969,7 +13097,7 @@ function requireCreateContextCommand () {
12969
13097
  exports.CreateContextCommand = exports.$Command = void 0;
12970
13098
  const Aws_restJson1_1 = requireAws_restJson1();
12971
13099
  const middleware_serde_1 = require$$1;
12972
- const smithy_client_1 = require$$64;
13100
+ const smithy_client_1 = require$$71;
12973
13101
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
12974
13102
  class CreateContextCommand extends smithy_client_1.Command.classBuilder()
12975
13103
  .m(function (Command, cs, config, o) {
@@ -13001,7 +13129,7 @@ function requireCreateDefaultConfigCommand () {
13001
13129
  exports.CreateDefaultConfigCommand = exports.$Command = void 0;
13002
13130
  const Aws_restJson1_1 = requireAws_restJson1();
13003
13131
  const middleware_serde_1 = require$$1;
13004
- const smithy_client_1 = require$$64;
13132
+ const smithy_client_1 = require$$71;
13005
13133
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13006
13134
  class CreateDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
13007
13135
  .m(function (Command, cs, config, o) {
@@ -13033,7 +13161,7 @@ function requireCreateDimensionCommand () {
13033
13161
  exports.CreateDimensionCommand = exports.$Command = void 0;
13034
13162
  const Aws_restJson1_1 = requireAws_restJson1();
13035
13163
  const middleware_serde_1 = require$$1;
13036
- const smithy_client_1 = require$$64;
13164
+ const smithy_client_1 = require$$71;
13037
13165
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13038
13166
  class CreateDimensionCommand extends smithy_client_1.Command.classBuilder()
13039
13167
  .m(function (Command, cs, config, o) {
@@ -13065,7 +13193,7 @@ function requireCreateExperimentCommand () {
13065
13193
  exports.CreateExperimentCommand = exports.$Command = void 0;
13066
13194
  const Aws_restJson1_1 = requireAws_restJson1();
13067
13195
  const middleware_serde_1 = require$$1;
13068
- const smithy_client_1 = require$$64;
13196
+ const smithy_client_1 = require$$71;
13069
13197
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13070
13198
  class CreateExperimentCommand extends smithy_client_1.Command.classBuilder()
13071
13199
  .m(function (Command, cs, config, o) {
@@ -13097,7 +13225,7 @@ function requireCreateExperimentGroupCommand () {
13097
13225
  exports.CreateExperimentGroupCommand = exports.$Command = void 0;
13098
13226
  const Aws_restJson1_1 = requireAws_restJson1();
13099
13227
  const middleware_serde_1 = require$$1;
13100
- const smithy_client_1 = require$$64;
13228
+ const smithy_client_1 = require$$71;
13101
13229
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13102
13230
  class CreateExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
13103
13231
  .m(function (Command, cs, config, o) {
@@ -13129,7 +13257,7 @@ function requireCreateFunctionCommand () {
13129
13257
  exports.CreateFunctionCommand = exports.$Command = void 0;
13130
13258
  const Aws_restJson1_1 = requireAws_restJson1();
13131
13259
  const middleware_serde_1 = require$$1;
13132
- const smithy_client_1 = require$$64;
13260
+ const smithy_client_1 = require$$71;
13133
13261
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13134
13262
  class CreateFunctionCommand extends smithy_client_1.Command.classBuilder()
13135
13263
  .m(function (Command, cs, config, o) {
@@ -13161,7 +13289,7 @@ function requireCreateOrganisationCommand () {
13161
13289
  exports.CreateOrganisationCommand = exports.$Command = void 0;
13162
13290
  const Aws_restJson1_1 = requireAws_restJson1();
13163
13291
  const middleware_serde_1 = require$$1;
13164
- const smithy_client_1 = require$$64;
13292
+ const smithy_client_1 = require$$71;
13165
13293
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13166
13294
  class CreateOrganisationCommand extends smithy_client_1.Command.classBuilder()
13167
13295
  .m(function (Command, cs, config, o) {
@@ -13193,7 +13321,7 @@ function requireCreateTypeTemplatesCommand () {
13193
13321
  exports.CreateTypeTemplatesCommand = exports.$Command = void 0;
13194
13322
  const Aws_restJson1_1 = requireAws_restJson1();
13195
13323
  const middleware_serde_1 = require$$1;
13196
- const smithy_client_1 = require$$64;
13324
+ const smithy_client_1 = require$$71;
13197
13325
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13198
13326
  class CreateTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
13199
13327
  .m(function (Command, cs, config, o) {
@@ -13225,7 +13353,7 @@ function requireCreateWebhookCommand () {
13225
13353
  exports.CreateWebhookCommand = exports.$Command = void 0;
13226
13354
  const Aws_restJson1_1 = requireAws_restJson1();
13227
13355
  const middleware_serde_1 = require$$1;
13228
- const smithy_client_1 = require$$64;
13356
+ const smithy_client_1 = require$$71;
13229
13357
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13230
13358
  class CreateWebhookCommand extends smithy_client_1.Command.classBuilder()
13231
13359
  .m(function (Command, cs, config, o) {
@@ -13257,7 +13385,7 @@ function requireCreateWorkspaceCommand () {
13257
13385
  exports.CreateWorkspaceCommand = exports.$Command = void 0;
13258
13386
  const Aws_restJson1_1 = requireAws_restJson1();
13259
13387
  const middleware_serde_1 = require$$1;
13260
- const smithy_client_1 = require$$64;
13388
+ const smithy_client_1 = require$$71;
13261
13389
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13262
13390
  class CreateWorkspaceCommand extends smithy_client_1.Command.classBuilder()
13263
13391
  .m(function (Command, cs, config, o) {
@@ -13289,7 +13417,7 @@ function requireDeleteContextCommand () {
13289
13417
  exports.DeleteContextCommand = exports.$Command = void 0;
13290
13418
  const Aws_restJson1_1 = requireAws_restJson1();
13291
13419
  const middleware_serde_1 = require$$1;
13292
- const smithy_client_1 = require$$64;
13420
+ const smithy_client_1 = require$$71;
13293
13421
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13294
13422
  class DeleteContextCommand extends smithy_client_1.Command.classBuilder()
13295
13423
  .m(function (Command, cs, config, o) {
@@ -13321,7 +13449,7 @@ function requireDeleteDefaultConfigCommand () {
13321
13449
  exports.DeleteDefaultConfigCommand = exports.$Command = void 0;
13322
13450
  const Aws_restJson1_1 = requireAws_restJson1();
13323
13451
  const middleware_serde_1 = require$$1;
13324
- const smithy_client_1 = require$$64;
13452
+ const smithy_client_1 = require$$71;
13325
13453
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13326
13454
  class DeleteDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
13327
13455
  .m(function (Command, cs, config, o) {
@@ -13353,7 +13481,7 @@ function requireDeleteDimensionCommand () {
13353
13481
  exports.DeleteDimensionCommand = exports.$Command = void 0;
13354
13482
  const Aws_restJson1_1 = requireAws_restJson1();
13355
13483
  const middleware_serde_1 = require$$1;
13356
- const smithy_client_1 = require$$64;
13484
+ const smithy_client_1 = require$$71;
13357
13485
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13358
13486
  class DeleteDimensionCommand extends smithy_client_1.Command.classBuilder()
13359
13487
  .m(function (Command, cs, config, o) {
@@ -13385,7 +13513,7 @@ function requireDeleteExperimentGroupCommand () {
13385
13513
  exports.DeleteExperimentGroupCommand = exports.$Command = void 0;
13386
13514
  const Aws_restJson1_1 = requireAws_restJson1();
13387
13515
  const middleware_serde_1 = require$$1;
13388
- const smithy_client_1 = require$$64;
13516
+ const smithy_client_1 = require$$71;
13389
13517
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13390
13518
  class DeleteExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
13391
13519
  .m(function (Command, cs, config, o) {
@@ -13417,7 +13545,7 @@ function requireDeleteFunctionCommand () {
13417
13545
  exports.DeleteFunctionCommand = exports.$Command = void 0;
13418
13546
  const Aws_restJson1_1 = requireAws_restJson1();
13419
13547
  const middleware_serde_1 = require$$1;
13420
- const smithy_client_1 = require$$64;
13548
+ const smithy_client_1 = require$$71;
13421
13549
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13422
13550
  class DeleteFunctionCommand extends smithy_client_1.Command.classBuilder()
13423
13551
  .m(function (Command, cs, config, o) {
@@ -13449,7 +13577,7 @@ function requireDeleteTypeTemplatesCommand () {
13449
13577
  exports.DeleteTypeTemplatesCommand = exports.$Command = void 0;
13450
13578
  const Aws_restJson1_1 = requireAws_restJson1();
13451
13579
  const middleware_serde_1 = require$$1;
13452
- const smithy_client_1 = require$$64;
13580
+ const smithy_client_1 = require$$71;
13453
13581
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13454
13582
  class DeleteTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
13455
13583
  .m(function (Command, cs, config, o) {
@@ -13469,6 +13597,38 @@ function requireDeleteTypeTemplatesCommand () {
13469
13597
  return DeleteTypeTemplatesCommand;
13470
13598
  }
13471
13599
 
13600
+ var DeleteWebhookCommand = {};
13601
+
13602
+ var hasRequiredDeleteWebhookCommand;
13603
+
13604
+ function requireDeleteWebhookCommand () {
13605
+ if (hasRequiredDeleteWebhookCommand) return DeleteWebhookCommand;
13606
+ hasRequiredDeleteWebhookCommand = 1;
13607
+ (function (exports) {
13608
+ Object.defineProperty(exports, "__esModule", { value: true });
13609
+ exports.DeleteWebhookCommand = exports.$Command = void 0;
13610
+ const Aws_restJson1_1 = requireAws_restJson1();
13611
+ const middleware_serde_1 = require$$1;
13612
+ const smithy_client_1 = require$$71;
13613
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13614
+ class DeleteWebhookCommand extends smithy_client_1.Command.classBuilder()
13615
+ .m(function (Command, cs, config, o) {
13616
+ return [
13617
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
13618
+ ];
13619
+ })
13620
+ .s("Superposition", "DeleteWebhook", {})
13621
+ .n("SuperpositionClient", "DeleteWebhookCommand")
13622
+ .f(void 0, void 0)
13623
+ .ser(Aws_restJson1_1.se_DeleteWebhookCommand)
13624
+ .de(Aws_restJson1_1.de_DeleteWebhookCommand)
13625
+ .build() {
13626
+ }
13627
+ exports.DeleteWebhookCommand = DeleteWebhookCommand;
13628
+ } (DeleteWebhookCommand));
13629
+ return DeleteWebhookCommand;
13630
+ }
13631
+
13472
13632
  var DiscardExperimentCommand = {};
13473
13633
 
13474
13634
  var hasRequiredDiscardExperimentCommand;
@@ -13481,7 +13641,7 @@ function requireDiscardExperimentCommand () {
13481
13641
  exports.DiscardExperimentCommand = exports.$Command = void 0;
13482
13642
  const Aws_restJson1_1 = requireAws_restJson1();
13483
13643
  const middleware_serde_1 = require$$1;
13484
- const smithy_client_1 = require$$64;
13644
+ const smithy_client_1 = require$$71;
13485
13645
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13486
13646
  class DiscardExperimentCommand extends smithy_client_1.Command.classBuilder()
13487
13647
  .m(function (Command, cs, config, o) {
@@ -13513,7 +13673,7 @@ function requireGetConfigCommand () {
13513
13673
  exports.GetConfigCommand = exports.$Command = void 0;
13514
13674
  const Aws_restJson1_1 = requireAws_restJson1();
13515
13675
  const middleware_serde_1 = require$$1;
13516
- const smithy_client_1 = require$$64;
13676
+ const smithy_client_1 = require$$71;
13517
13677
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13518
13678
  class GetConfigCommand extends smithy_client_1.Command.classBuilder()
13519
13679
  .m(function (Command, cs, config, o) {
@@ -13545,7 +13705,7 @@ function requireGetConfigFastCommand () {
13545
13705
  exports.GetConfigFastCommand = exports.$Command = void 0;
13546
13706
  const Aws_restJson1_1 = requireAws_restJson1();
13547
13707
  const middleware_serde_1 = require$$1;
13548
- const smithy_client_1 = require$$64;
13708
+ const smithy_client_1 = require$$71;
13549
13709
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13550
13710
  class GetConfigFastCommand extends smithy_client_1.Command.classBuilder()
13551
13711
  .m(function (Command, cs, config, o) {
@@ -13577,7 +13737,7 @@ function requireGetContextCommand () {
13577
13737
  exports.GetContextCommand = exports.$Command = void 0;
13578
13738
  const Aws_restJson1_1 = requireAws_restJson1();
13579
13739
  const middleware_serde_1 = require$$1;
13580
- const smithy_client_1 = require$$64;
13740
+ const smithy_client_1 = require$$71;
13581
13741
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13582
13742
  class GetContextCommand extends smithy_client_1.Command.classBuilder()
13583
13743
  .m(function (Command, cs, config, o) {
@@ -13609,7 +13769,7 @@ function requireGetContextFromConditionCommand () {
13609
13769
  exports.GetContextFromConditionCommand = exports.$Command = void 0;
13610
13770
  const Aws_restJson1_1 = requireAws_restJson1();
13611
13771
  const middleware_serde_1 = require$$1;
13612
- const smithy_client_1 = require$$64;
13772
+ const smithy_client_1 = require$$71;
13613
13773
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13614
13774
  class GetContextFromConditionCommand extends smithy_client_1.Command.classBuilder()
13615
13775
  .m(function (Command, cs, config, o) {
@@ -13629,6 +13789,38 @@ function requireGetContextFromConditionCommand () {
13629
13789
  return GetContextFromConditionCommand;
13630
13790
  }
13631
13791
 
13792
+ var GetDefaultConfigCommand = {};
13793
+
13794
+ var hasRequiredGetDefaultConfigCommand;
13795
+
13796
+ function requireGetDefaultConfigCommand () {
13797
+ if (hasRequiredGetDefaultConfigCommand) return GetDefaultConfigCommand;
13798
+ hasRequiredGetDefaultConfigCommand = 1;
13799
+ (function (exports) {
13800
+ Object.defineProperty(exports, "__esModule", { value: true });
13801
+ exports.GetDefaultConfigCommand = exports.$Command = void 0;
13802
+ const Aws_restJson1_1 = requireAws_restJson1();
13803
+ const middleware_serde_1 = require$$1;
13804
+ const smithy_client_1 = require$$71;
13805
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13806
+ class GetDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
13807
+ .m(function (Command, cs, config, o) {
13808
+ return [
13809
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
13810
+ ];
13811
+ })
13812
+ .s("Superposition", "GetDefaultConfig", {})
13813
+ .n("SuperpositionClient", "GetDefaultConfigCommand")
13814
+ .f(void 0, void 0)
13815
+ .ser(Aws_restJson1_1.se_GetDefaultConfigCommand)
13816
+ .de(Aws_restJson1_1.de_GetDefaultConfigCommand)
13817
+ .build() {
13818
+ }
13819
+ exports.GetDefaultConfigCommand = GetDefaultConfigCommand;
13820
+ } (GetDefaultConfigCommand));
13821
+ return GetDefaultConfigCommand;
13822
+ }
13823
+
13632
13824
  var GetDimensionCommand = {};
13633
13825
 
13634
13826
  var hasRequiredGetDimensionCommand;
@@ -13641,7 +13833,7 @@ function requireGetDimensionCommand () {
13641
13833
  exports.GetDimensionCommand = exports.$Command = void 0;
13642
13834
  const Aws_restJson1_1 = requireAws_restJson1();
13643
13835
  const middleware_serde_1 = require$$1;
13644
- const smithy_client_1 = require$$64;
13836
+ const smithy_client_1 = require$$71;
13645
13837
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13646
13838
  class GetDimensionCommand extends smithy_client_1.Command.classBuilder()
13647
13839
  .m(function (Command, cs, config, o) {
@@ -13673,7 +13865,7 @@ function requireGetExperimentCommand () {
13673
13865
  exports.GetExperimentCommand = exports.$Command = void 0;
13674
13866
  const Aws_restJson1_1 = requireAws_restJson1();
13675
13867
  const middleware_serde_1 = require$$1;
13676
- const smithy_client_1 = require$$64;
13868
+ const smithy_client_1 = require$$71;
13677
13869
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13678
13870
  class GetExperimentCommand extends smithy_client_1.Command.classBuilder()
13679
13871
  .m(function (Command, cs, config, o) {
@@ -13705,7 +13897,7 @@ function requireGetExperimentGroupCommand () {
13705
13897
  exports.GetExperimentGroupCommand = exports.$Command = void 0;
13706
13898
  const Aws_restJson1_1 = requireAws_restJson1();
13707
13899
  const middleware_serde_1 = require$$1;
13708
- const smithy_client_1 = require$$64;
13900
+ const smithy_client_1 = require$$71;
13709
13901
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13710
13902
  class GetExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
13711
13903
  .m(function (Command, cs, config, o) {
@@ -13737,7 +13929,7 @@ function requireGetFunctionCommand () {
13737
13929
  exports.GetFunctionCommand = exports.$Command = void 0;
13738
13930
  const Aws_restJson1_1 = requireAws_restJson1();
13739
13931
  const middleware_serde_1 = require$$1;
13740
- const smithy_client_1 = require$$64;
13932
+ const smithy_client_1 = require$$71;
13741
13933
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13742
13934
  class GetFunctionCommand extends smithy_client_1.Command.classBuilder()
13743
13935
  .m(function (Command, cs, config, o) {
@@ -13769,7 +13961,7 @@ function requireGetOrganisationCommand () {
13769
13961
  exports.GetOrganisationCommand = exports.$Command = void 0;
13770
13962
  const Aws_restJson1_1 = requireAws_restJson1();
13771
13963
  const middleware_serde_1 = require$$1;
13772
- const smithy_client_1 = require$$64;
13964
+ const smithy_client_1 = require$$71;
13773
13965
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13774
13966
  class GetOrganisationCommand extends smithy_client_1.Command.classBuilder()
13775
13967
  .m(function (Command, cs, config, o) {
@@ -13801,7 +13993,7 @@ function requireGetResolvedConfigCommand () {
13801
13993
  exports.GetResolvedConfigCommand = exports.$Command = void 0;
13802
13994
  const Aws_restJson1_1 = requireAws_restJson1();
13803
13995
  const middleware_serde_1 = require$$1;
13804
- const smithy_client_1 = require$$64;
13996
+ const smithy_client_1 = require$$71;
13805
13997
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13806
13998
  class GetResolvedConfigCommand extends smithy_client_1.Command.classBuilder()
13807
13999
  .m(function (Command, cs, config, o) {
@@ -13821,6 +14013,38 @@ function requireGetResolvedConfigCommand () {
13821
14013
  return GetResolvedConfigCommand;
13822
14014
  }
13823
14015
 
14016
+ var GetTypeTemplateCommand = {};
14017
+
14018
+ var hasRequiredGetTypeTemplateCommand;
14019
+
14020
+ function requireGetTypeTemplateCommand () {
14021
+ if (hasRequiredGetTypeTemplateCommand) return GetTypeTemplateCommand;
14022
+ hasRequiredGetTypeTemplateCommand = 1;
14023
+ (function (exports) {
14024
+ Object.defineProperty(exports, "__esModule", { value: true });
14025
+ exports.GetTypeTemplateCommand = exports.$Command = void 0;
14026
+ const Aws_restJson1_1 = requireAws_restJson1();
14027
+ const middleware_serde_1 = require$$1;
14028
+ const smithy_client_1 = require$$71;
14029
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14030
+ class GetTypeTemplateCommand extends smithy_client_1.Command.classBuilder()
14031
+ .m(function (Command, cs, config, o) {
14032
+ return [
14033
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
14034
+ ];
14035
+ })
14036
+ .s("Superposition", "GetTypeTemplate", {})
14037
+ .n("SuperpositionClient", "GetTypeTemplateCommand")
14038
+ .f(void 0, void 0)
14039
+ .ser(Aws_restJson1_1.se_GetTypeTemplateCommand)
14040
+ .de(Aws_restJson1_1.de_GetTypeTemplateCommand)
14041
+ .build() {
14042
+ }
14043
+ exports.GetTypeTemplateCommand = GetTypeTemplateCommand;
14044
+ } (GetTypeTemplateCommand));
14045
+ return GetTypeTemplateCommand;
14046
+ }
14047
+
13824
14048
  var GetTypeTemplatesListCommand = {};
13825
14049
 
13826
14050
  var hasRequiredGetTypeTemplatesListCommand;
@@ -13833,7 +14057,7 @@ function requireGetTypeTemplatesListCommand () {
13833
14057
  exports.GetTypeTemplatesListCommand = exports.$Command = void 0;
13834
14058
  const Aws_restJson1_1 = requireAws_restJson1();
13835
14059
  const middleware_serde_1 = require$$1;
13836
- const smithy_client_1 = require$$64;
14060
+ const smithy_client_1 = require$$71;
13837
14061
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13838
14062
  class GetTypeTemplatesListCommand extends smithy_client_1.Command.classBuilder()
13839
14063
  .m(function (Command, cs, config, o) {
@@ -13853,6 +14077,70 @@ function requireGetTypeTemplatesListCommand () {
13853
14077
  return GetTypeTemplatesListCommand;
13854
14078
  }
13855
14079
 
14080
+ var GetVersionCommand = {};
14081
+
14082
+ var hasRequiredGetVersionCommand;
14083
+
14084
+ function requireGetVersionCommand () {
14085
+ if (hasRequiredGetVersionCommand) return GetVersionCommand;
14086
+ hasRequiredGetVersionCommand = 1;
14087
+ (function (exports) {
14088
+ Object.defineProperty(exports, "__esModule", { value: true });
14089
+ exports.GetVersionCommand = exports.$Command = void 0;
14090
+ const Aws_restJson1_1 = requireAws_restJson1();
14091
+ const middleware_serde_1 = require$$1;
14092
+ const smithy_client_1 = require$$71;
14093
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14094
+ class GetVersionCommand extends smithy_client_1.Command.classBuilder()
14095
+ .m(function (Command, cs, config, o) {
14096
+ return [
14097
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
14098
+ ];
14099
+ })
14100
+ .s("Superposition", "GetVersion", {})
14101
+ .n("SuperpositionClient", "GetVersionCommand")
14102
+ .f(void 0, void 0)
14103
+ .ser(Aws_restJson1_1.se_GetVersionCommand)
14104
+ .de(Aws_restJson1_1.de_GetVersionCommand)
14105
+ .build() {
14106
+ }
14107
+ exports.GetVersionCommand = GetVersionCommand;
14108
+ } (GetVersionCommand));
14109
+ return GetVersionCommand;
14110
+ }
14111
+
14112
+ var GetWebhookByEventCommand = {};
14113
+
14114
+ var hasRequiredGetWebhookByEventCommand;
14115
+
14116
+ function requireGetWebhookByEventCommand () {
14117
+ if (hasRequiredGetWebhookByEventCommand) return GetWebhookByEventCommand;
14118
+ hasRequiredGetWebhookByEventCommand = 1;
14119
+ (function (exports) {
14120
+ Object.defineProperty(exports, "__esModule", { value: true });
14121
+ exports.GetWebhookByEventCommand = exports.$Command = void 0;
14122
+ const Aws_restJson1_1 = requireAws_restJson1();
14123
+ const middleware_serde_1 = require$$1;
14124
+ const smithy_client_1 = require$$71;
14125
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14126
+ class GetWebhookByEventCommand extends smithy_client_1.Command.classBuilder()
14127
+ .m(function (Command, cs, config, o) {
14128
+ return [
14129
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
14130
+ ];
14131
+ })
14132
+ .s("Superposition", "GetWebhookByEvent", {})
14133
+ .n("SuperpositionClient", "GetWebhookByEventCommand")
14134
+ .f(void 0, void 0)
14135
+ .ser(Aws_restJson1_1.se_GetWebhookByEventCommand)
14136
+ .de(Aws_restJson1_1.de_GetWebhookByEventCommand)
14137
+ .build() {
14138
+ }
14139
+ exports.GetWebhookByEventCommand = GetWebhookByEventCommand;
14140
+ } (GetWebhookByEventCommand));
14141
+ return GetWebhookByEventCommand;
14142
+ }
14143
+
13856
14144
  var GetWebhookCommand = {};
13857
14145
 
13858
14146
  var hasRequiredGetWebhookCommand;
@@ -13865,7 +14153,7 @@ function requireGetWebhookCommand () {
13865
14153
  exports.GetWebhookCommand = exports.$Command = void 0;
13866
14154
  const Aws_restJson1_1 = requireAws_restJson1();
13867
14155
  const middleware_serde_1 = require$$1;
13868
- const smithy_client_1 = require$$64;
14156
+ const smithy_client_1 = require$$71;
13869
14157
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13870
14158
  class GetWebhookCommand extends smithy_client_1.Command.classBuilder()
13871
14159
  .m(function (Command, cs, config, o) {
@@ -13885,6 +14173,38 @@ function requireGetWebhookCommand () {
13885
14173
  return GetWebhookCommand;
13886
14174
  }
13887
14175
 
14176
+ var GetWorkspaceCommand = {};
14177
+
14178
+ var hasRequiredGetWorkspaceCommand;
14179
+
14180
+ function requireGetWorkspaceCommand () {
14181
+ if (hasRequiredGetWorkspaceCommand) return GetWorkspaceCommand;
14182
+ hasRequiredGetWorkspaceCommand = 1;
14183
+ (function (exports) {
14184
+ Object.defineProperty(exports, "__esModule", { value: true });
14185
+ exports.GetWorkspaceCommand = exports.$Command = void 0;
14186
+ const Aws_restJson1_1 = requireAws_restJson1();
14187
+ const middleware_serde_1 = require$$1;
14188
+ const smithy_client_1 = require$$71;
14189
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14190
+ class GetWorkspaceCommand extends smithy_client_1.Command.classBuilder()
14191
+ .m(function (Command, cs, config, o) {
14192
+ return [
14193
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
14194
+ ];
14195
+ })
14196
+ .s("Superposition", "GetWorkspace", {})
14197
+ .n("SuperpositionClient", "GetWorkspaceCommand")
14198
+ .f(void 0, void 0)
14199
+ .ser(Aws_restJson1_1.se_GetWorkspaceCommand)
14200
+ .de(Aws_restJson1_1.de_GetWorkspaceCommand)
14201
+ .build() {
14202
+ }
14203
+ exports.GetWorkspaceCommand = GetWorkspaceCommand;
14204
+ } (GetWorkspaceCommand));
14205
+ return GetWorkspaceCommand;
14206
+ }
14207
+
13888
14208
  var ListAuditLogsCommand = {};
13889
14209
 
13890
14210
  var hasRequiredListAuditLogsCommand;
@@ -13897,7 +14217,7 @@ function requireListAuditLogsCommand () {
13897
14217
  exports.ListAuditLogsCommand = exports.$Command = void 0;
13898
14218
  const Aws_restJson1_1 = requireAws_restJson1();
13899
14219
  const middleware_serde_1 = require$$1;
13900
- const smithy_client_1 = require$$64;
14220
+ const smithy_client_1 = require$$71;
13901
14221
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13902
14222
  class ListAuditLogsCommand extends smithy_client_1.Command.classBuilder()
13903
14223
  .m(function (Command, cs, config, o) {
@@ -13929,7 +14249,7 @@ function requireListContextsCommand () {
13929
14249
  exports.ListContextsCommand = exports.$Command = void 0;
13930
14250
  const Aws_restJson1_1 = requireAws_restJson1();
13931
14251
  const middleware_serde_1 = require$$1;
13932
- const smithy_client_1 = require$$64;
14252
+ const smithy_client_1 = require$$71;
13933
14253
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13934
14254
  class ListContextsCommand extends smithy_client_1.Command.classBuilder()
13935
14255
  .m(function (Command, cs, config, o) {
@@ -13961,7 +14281,7 @@ function requireListDefaultConfigsCommand () {
13961
14281
  exports.ListDefaultConfigsCommand = exports.$Command = void 0;
13962
14282
  const Aws_restJson1_1 = requireAws_restJson1();
13963
14283
  const middleware_serde_1 = require$$1;
13964
- const smithy_client_1 = require$$64;
14284
+ const smithy_client_1 = require$$71;
13965
14285
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13966
14286
  class ListDefaultConfigsCommand extends smithy_client_1.Command.classBuilder()
13967
14287
  .m(function (Command, cs, config, o) {
@@ -13993,7 +14313,7 @@ function requireListDimensionsCommand () {
13993
14313
  exports.ListDimensionsCommand = exports.$Command = void 0;
13994
14314
  const Aws_restJson1_1 = requireAws_restJson1();
13995
14315
  const middleware_serde_1 = require$$1;
13996
- const smithy_client_1 = require$$64;
14316
+ const smithy_client_1 = require$$71;
13997
14317
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
13998
14318
  class ListDimensionsCommand extends smithy_client_1.Command.classBuilder()
13999
14319
  .m(function (Command, cs, config, o) {
@@ -14025,7 +14345,7 @@ function requireListExperimentCommand () {
14025
14345
  exports.ListExperimentCommand = exports.$Command = void 0;
14026
14346
  const Aws_restJson1_1 = requireAws_restJson1();
14027
14347
  const middleware_serde_1 = require$$1;
14028
- const smithy_client_1 = require$$64;
14348
+ const smithy_client_1 = require$$71;
14029
14349
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14030
14350
  class ListExperimentCommand extends smithy_client_1.Command.classBuilder()
14031
14351
  .m(function (Command, cs, config, o) {
@@ -14057,7 +14377,7 @@ function requireListExperimentGroupsCommand () {
14057
14377
  exports.ListExperimentGroupsCommand = exports.$Command = void 0;
14058
14378
  const Aws_restJson1_1 = requireAws_restJson1();
14059
14379
  const middleware_serde_1 = require$$1;
14060
- const smithy_client_1 = require$$64;
14380
+ const smithy_client_1 = require$$71;
14061
14381
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14062
14382
  class ListExperimentGroupsCommand extends smithy_client_1.Command.classBuilder()
14063
14383
  .m(function (Command, cs, config, o) {
@@ -14089,7 +14409,7 @@ function requireListFunctionCommand () {
14089
14409
  exports.ListFunctionCommand = exports.$Command = void 0;
14090
14410
  const Aws_restJson1_1 = requireAws_restJson1();
14091
14411
  const middleware_serde_1 = require$$1;
14092
- const smithy_client_1 = require$$64;
14412
+ const smithy_client_1 = require$$71;
14093
14413
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14094
14414
  class ListFunctionCommand extends smithy_client_1.Command.classBuilder()
14095
14415
  .m(function (Command, cs, config, o) {
@@ -14121,7 +14441,7 @@ function requireListOrganisationCommand () {
14121
14441
  exports.ListOrganisationCommand = exports.$Command = void 0;
14122
14442
  const Aws_restJson1_1 = requireAws_restJson1();
14123
14443
  const middleware_serde_1 = require$$1;
14124
- const smithy_client_1 = require$$64;
14444
+ const smithy_client_1 = require$$71;
14125
14445
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14126
14446
  class ListOrganisationCommand extends smithy_client_1.Command.classBuilder()
14127
14447
  .m(function (Command, cs, config, o) {
@@ -14153,7 +14473,7 @@ function requireListVersionsCommand () {
14153
14473
  exports.ListVersionsCommand = exports.$Command = void 0;
14154
14474
  const Aws_restJson1_1 = requireAws_restJson1();
14155
14475
  const middleware_serde_1 = require$$1;
14156
- const smithy_client_1 = require$$64;
14476
+ const smithy_client_1 = require$$71;
14157
14477
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14158
14478
  class ListVersionsCommand extends smithy_client_1.Command.classBuilder()
14159
14479
  .m(function (Command, cs, config, o) {
@@ -14185,7 +14505,7 @@ function requireListWebhookCommand () {
14185
14505
  exports.ListWebhookCommand = exports.$Command = void 0;
14186
14506
  const Aws_restJson1_1 = requireAws_restJson1();
14187
14507
  const middleware_serde_1 = require$$1;
14188
- const smithy_client_1 = require$$64;
14508
+ const smithy_client_1 = require$$71;
14189
14509
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14190
14510
  class ListWebhookCommand extends smithy_client_1.Command.classBuilder()
14191
14511
  .m(function (Command, cs, config, o) {
@@ -14217,7 +14537,7 @@ function requireListWorkspaceCommand () {
14217
14537
  exports.ListWorkspaceCommand = exports.$Command = void 0;
14218
14538
  const Aws_restJson1_1 = requireAws_restJson1();
14219
14539
  const middleware_serde_1 = require$$1;
14220
- const smithy_client_1 = require$$64;
14540
+ const smithy_client_1 = require$$71;
14221
14541
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14222
14542
  class ListWorkspaceCommand extends smithy_client_1.Command.classBuilder()
14223
14543
  .m(function (Command, cs, config, o) {
@@ -14249,7 +14569,7 @@ function requireMigrateWorkspaceSchemaCommand () {
14249
14569
  exports.MigrateWorkspaceSchemaCommand = exports.$Command = void 0;
14250
14570
  const Aws_restJson1_1 = requireAws_restJson1();
14251
14571
  const middleware_serde_1 = require$$1;
14252
- const smithy_client_1 = require$$64;
14572
+ const smithy_client_1 = require$$71;
14253
14573
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14254
14574
  class MigrateWorkspaceSchemaCommand extends smithy_client_1.Command.classBuilder()
14255
14575
  .m(function (Command, cs, config, o) {
@@ -14281,7 +14601,7 @@ function requireMoveContextCommand () {
14281
14601
  exports.MoveContextCommand = exports.$Command = void 0;
14282
14602
  const Aws_restJson1_1 = requireAws_restJson1();
14283
14603
  const middleware_serde_1 = require$$1;
14284
- const smithy_client_1 = require$$64;
14604
+ const smithy_client_1 = require$$71;
14285
14605
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14286
14606
  class MoveContextCommand extends smithy_client_1.Command.classBuilder()
14287
14607
  .m(function (Command, cs, config, o) {
@@ -14313,7 +14633,7 @@ function requirePauseExperimentCommand () {
14313
14633
  exports.PauseExperimentCommand = exports.$Command = void 0;
14314
14634
  const Aws_restJson1_1 = requireAws_restJson1();
14315
14635
  const middleware_serde_1 = require$$1;
14316
- const smithy_client_1 = require$$64;
14636
+ const smithy_client_1 = require$$71;
14317
14637
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14318
14638
  class PauseExperimentCommand extends smithy_client_1.Command.classBuilder()
14319
14639
  .m(function (Command, cs, config, o) {
@@ -14345,7 +14665,7 @@ function requirePublishCommand () {
14345
14665
  exports.PublishCommand = exports.$Command = void 0;
14346
14666
  const Aws_restJson1_1 = requireAws_restJson1();
14347
14667
  const middleware_serde_1 = require$$1;
14348
- const smithy_client_1 = require$$64;
14668
+ const smithy_client_1 = require$$71;
14349
14669
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14350
14670
  class PublishCommand extends smithy_client_1.Command.classBuilder()
14351
14671
  .m(function (Command, cs, config, o) {
@@ -14377,7 +14697,7 @@ function requireRampExperimentCommand () {
14377
14697
  exports.RampExperimentCommand = exports.$Command = void 0;
14378
14698
  const Aws_restJson1_1 = requireAws_restJson1();
14379
14699
  const middleware_serde_1 = require$$1;
14380
- const smithy_client_1 = require$$64;
14700
+ const smithy_client_1 = require$$71;
14381
14701
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14382
14702
  class RampExperimentCommand extends smithy_client_1.Command.classBuilder()
14383
14703
  .m(function (Command, cs, config, o) {
@@ -14409,7 +14729,7 @@ function requireRemoveMembersFromGroupCommand () {
14409
14729
  exports.RemoveMembersFromGroupCommand = exports.$Command = void 0;
14410
14730
  const Aws_restJson1_1 = requireAws_restJson1();
14411
14731
  const middleware_serde_1 = require$$1;
14412
- const smithy_client_1 = require$$64;
14732
+ const smithy_client_1 = require$$71;
14413
14733
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14414
14734
  class RemoveMembersFromGroupCommand extends smithy_client_1.Command.classBuilder()
14415
14735
  .m(function (Command, cs, config, o) {
@@ -14441,7 +14761,7 @@ function requireResumeExperimentCommand () {
14441
14761
  exports.ResumeExperimentCommand = exports.$Command = void 0;
14442
14762
  const Aws_restJson1_1 = requireAws_restJson1();
14443
14763
  const middleware_serde_1 = require$$1;
14444
- const smithy_client_1 = require$$64;
14764
+ const smithy_client_1 = require$$71;
14445
14765
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14446
14766
  class ResumeExperimentCommand extends smithy_client_1.Command.classBuilder()
14447
14767
  .m(function (Command, cs, config, o) {
@@ -14473,7 +14793,7 @@ function requireTestCommand () {
14473
14793
  exports.TestCommand = exports.$Command = void 0;
14474
14794
  const Aws_restJson1_1 = requireAws_restJson1();
14475
14795
  const middleware_serde_1 = require$$1;
14476
- const smithy_client_1 = require$$64;
14796
+ const smithy_client_1 = require$$71;
14477
14797
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14478
14798
  class TestCommand extends smithy_client_1.Command.classBuilder()
14479
14799
  .m(function (Command, cs, config, o) {
@@ -14505,7 +14825,7 @@ function requireUpdateDefaultConfigCommand () {
14505
14825
  exports.UpdateDefaultConfigCommand = exports.$Command = void 0;
14506
14826
  const Aws_restJson1_1 = requireAws_restJson1();
14507
14827
  const middleware_serde_1 = require$$1;
14508
- const smithy_client_1 = require$$64;
14828
+ const smithy_client_1 = require$$71;
14509
14829
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14510
14830
  class UpdateDefaultConfigCommand extends smithy_client_1.Command.classBuilder()
14511
14831
  .m(function (Command, cs, config, o) {
@@ -14537,7 +14857,7 @@ function requireUpdateDimensionCommand () {
14537
14857
  exports.UpdateDimensionCommand = exports.$Command = void 0;
14538
14858
  const Aws_restJson1_1 = requireAws_restJson1();
14539
14859
  const middleware_serde_1 = require$$1;
14540
- const smithy_client_1 = require$$64;
14860
+ const smithy_client_1 = require$$71;
14541
14861
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14542
14862
  class UpdateDimensionCommand extends smithy_client_1.Command.classBuilder()
14543
14863
  .m(function (Command, cs, config, o) {
@@ -14569,7 +14889,7 @@ function requireUpdateExperimentGroupCommand () {
14569
14889
  exports.UpdateExperimentGroupCommand = exports.$Command = void 0;
14570
14890
  const Aws_restJson1_1 = requireAws_restJson1();
14571
14891
  const middleware_serde_1 = require$$1;
14572
- const smithy_client_1 = require$$64;
14892
+ const smithy_client_1 = require$$71;
14573
14893
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14574
14894
  class UpdateExperimentGroupCommand extends smithy_client_1.Command.classBuilder()
14575
14895
  .m(function (Command, cs, config, o) {
@@ -14601,7 +14921,7 @@ function requireUpdateFunctionCommand () {
14601
14921
  exports.UpdateFunctionCommand = exports.$Command = void 0;
14602
14922
  const Aws_restJson1_1 = requireAws_restJson1();
14603
14923
  const middleware_serde_1 = require$$1;
14604
- const smithy_client_1 = require$$64;
14924
+ const smithy_client_1 = require$$71;
14605
14925
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14606
14926
  class UpdateFunctionCommand extends smithy_client_1.Command.classBuilder()
14607
14927
  .m(function (Command, cs, config, o) {
@@ -14633,7 +14953,7 @@ function requireUpdateOrganisationCommand () {
14633
14953
  exports.UpdateOrganisationCommand = exports.$Command = void 0;
14634
14954
  const Aws_restJson1_1 = requireAws_restJson1();
14635
14955
  const middleware_serde_1 = require$$1;
14636
- const smithy_client_1 = require$$64;
14956
+ const smithy_client_1 = require$$71;
14637
14957
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14638
14958
  class UpdateOrganisationCommand extends smithy_client_1.Command.classBuilder()
14639
14959
  .m(function (Command, cs, config, o) {
@@ -14665,7 +14985,7 @@ function requireUpdateOverrideCommand () {
14665
14985
  exports.UpdateOverrideCommand = exports.$Command = void 0;
14666
14986
  const Aws_restJson1_1 = requireAws_restJson1();
14667
14987
  const middleware_serde_1 = require$$1;
14668
- const smithy_client_1 = require$$64;
14988
+ const smithy_client_1 = require$$71;
14669
14989
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14670
14990
  class UpdateOverrideCommand extends smithy_client_1.Command.classBuilder()
14671
14991
  .m(function (Command, cs, config, o) {
@@ -14697,7 +15017,7 @@ function requireUpdateOverridesExperimentCommand () {
14697
15017
  exports.UpdateOverridesExperimentCommand = exports.$Command = void 0;
14698
15018
  const Aws_restJson1_1 = requireAws_restJson1();
14699
15019
  const middleware_serde_1 = require$$1;
14700
- const smithy_client_1 = require$$64;
15020
+ const smithy_client_1 = require$$71;
14701
15021
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14702
15022
  class UpdateOverridesExperimentCommand extends smithy_client_1.Command.classBuilder()
14703
15023
  .m(function (Command, cs, config, o) {
@@ -14729,7 +15049,7 @@ function requireUpdateTypeTemplatesCommand () {
14729
15049
  exports.UpdateTypeTemplatesCommand = exports.$Command = void 0;
14730
15050
  const Aws_restJson1_1 = requireAws_restJson1();
14731
15051
  const middleware_serde_1 = require$$1;
14732
- const smithy_client_1 = require$$64;
15052
+ const smithy_client_1 = require$$71;
14733
15053
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14734
15054
  class UpdateTypeTemplatesCommand extends smithy_client_1.Command.classBuilder()
14735
15055
  .m(function (Command, cs, config, o) {
@@ -14761,7 +15081,7 @@ function requireUpdateWebhookCommand () {
14761
15081
  exports.UpdateWebhookCommand = exports.$Command = void 0;
14762
15082
  const Aws_restJson1_1 = requireAws_restJson1();
14763
15083
  const middleware_serde_1 = require$$1;
14764
- const smithy_client_1 = require$$64;
15084
+ const smithy_client_1 = require$$71;
14765
15085
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14766
15086
  class UpdateWebhookCommand extends smithy_client_1.Command.classBuilder()
14767
15087
  .m(function (Command, cs, config, o) {
@@ -14793,7 +15113,7 @@ function requireUpdateWorkspaceCommand () {
14793
15113
  exports.UpdateWorkspaceCommand = exports.$Command = void 0;
14794
15114
  const Aws_restJson1_1 = requireAws_restJson1();
14795
15115
  const middleware_serde_1 = require$$1;
14796
- const smithy_client_1 = require$$64;
15116
+ const smithy_client_1 = require$$71;
14797
15117
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14798
15118
  class UpdateWorkspaceCommand extends smithy_client_1.Command.classBuilder()
14799
15119
  .m(function (Command, cs, config, o) {
@@ -14813,6 +15133,38 @@ function requireUpdateWorkspaceCommand () {
14813
15133
  return UpdateWorkspaceCommand;
14814
15134
  }
14815
15135
 
15136
+ var ValidateContextCommand = {};
15137
+
15138
+ var hasRequiredValidateContextCommand;
15139
+
15140
+ function requireValidateContextCommand () {
15141
+ if (hasRequiredValidateContextCommand) return ValidateContextCommand;
15142
+ hasRequiredValidateContextCommand = 1;
15143
+ (function (exports) {
15144
+ Object.defineProperty(exports, "__esModule", { value: true });
15145
+ exports.ValidateContextCommand = exports.$Command = void 0;
15146
+ const Aws_restJson1_1 = requireAws_restJson1();
15147
+ const middleware_serde_1 = require$$1;
15148
+ const smithy_client_1 = require$$71;
15149
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
15150
+ class ValidateContextCommand extends smithy_client_1.Command.classBuilder()
15151
+ .m(function (Command, cs, config, o) {
15152
+ return [
15153
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15154
+ ];
15155
+ })
15156
+ .s("Superposition", "ValidateContext", {})
15157
+ .n("SuperpositionClient", "ValidateContextCommand")
15158
+ .f(void 0, void 0)
15159
+ .ser(Aws_restJson1_1.se_ValidateContextCommand)
15160
+ .de(Aws_restJson1_1.de_ValidateContextCommand)
15161
+ .build() {
15162
+ }
15163
+ exports.ValidateContextCommand = ValidateContextCommand;
15164
+ } (ValidateContextCommand));
15165
+ return ValidateContextCommand;
15166
+ }
15167
+
14816
15168
  var WeightRecomputeCommand = {};
14817
15169
 
14818
15170
  var hasRequiredWeightRecomputeCommand;
@@ -14825,7 +15177,7 @@ function requireWeightRecomputeCommand () {
14825
15177
  exports.WeightRecomputeCommand = exports.$Command = void 0;
14826
15178
  const Aws_restJson1_1 = requireAws_restJson1();
14827
15179
  const middleware_serde_1 = require$$1;
14828
- const smithy_client_1 = require$$64;
15180
+ const smithy_client_1 = require$$71;
14829
15181
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
14830
15182
  class WeightRecomputeCommand extends smithy_client_1.Command.classBuilder()
14831
15183
  .m(function (Command, cs, config, o) {
@@ -14873,19 +15225,25 @@ function requireSuperposition () {
14873
15225
  const DeleteExperimentGroupCommand_1 = requireDeleteExperimentGroupCommand();
14874
15226
  const DeleteFunctionCommand_1 = requireDeleteFunctionCommand();
14875
15227
  const DeleteTypeTemplatesCommand_1 = requireDeleteTypeTemplatesCommand();
15228
+ const DeleteWebhookCommand_1 = requireDeleteWebhookCommand();
14876
15229
  const DiscardExperimentCommand_1 = requireDiscardExperimentCommand();
14877
15230
  const GetConfigCommand_1 = requireGetConfigCommand();
14878
15231
  const GetConfigFastCommand_1 = requireGetConfigFastCommand();
14879
15232
  const GetContextCommand_1 = requireGetContextCommand();
14880
15233
  const GetContextFromConditionCommand_1 = requireGetContextFromConditionCommand();
15234
+ const GetDefaultConfigCommand_1 = requireGetDefaultConfigCommand();
14881
15235
  const GetDimensionCommand_1 = requireGetDimensionCommand();
14882
15236
  const GetExperimentCommand_1 = requireGetExperimentCommand();
14883
15237
  const GetExperimentGroupCommand_1 = requireGetExperimentGroupCommand();
14884
15238
  const GetFunctionCommand_1 = requireGetFunctionCommand();
14885
15239
  const GetOrganisationCommand_1 = requireGetOrganisationCommand();
14886
15240
  const GetResolvedConfigCommand_1 = requireGetResolvedConfigCommand();
15241
+ const GetTypeTemplateCommand_1 = requireGetTypeTemplateCommand();
14887
15242
  const GetTypeTemplatesListCommand_1 = requireGetTypeTemplatesListCommand();
15243
+ const GetVersionCommand_1 = requireGetVersionCommand();
15244
+ const GetWebhookByEventCommand_1 = requireGetWebhookByEventCommand();
14888
15245
  const GetWebhookCommand_1 = requireGetWebhookCommand();
15246
+ const GetWorkspaceCommand_1 = requireGetWorkspaceCommand();
14889
15247
  const ListAuditLogsCommand_1 = requireListAuditLogsCommand();
14890
15248
  const ListContextsCommand_1 = requireListContextsCommand();
14891
15249
  const ListDefaultConfigsCommand_1 = requireListDefaultConfigsCommand();
@@ -14915,8 +15273,9 @@ function requireSuperposition () {
14915
15273
  const UpdateTypeTemplatesCommand_1 = requireUpdateTypeTemplatesCommand();
14916
15274
  const UpdateWebhookCommand_1 = requireUpdateWebhookCommand();
14917
15275
  const UpdateWorkspaceCommand_1 = requireUpdateWorkspaceCommand();
15276
+ const ValidateContextCommand_1 = requireValidateContextCommand();
14918
15277
  const WeightRecomputeCommand_1 = requireWeightRecomputeCommand();
14919
- const smithy_client_1 = require$$64;
15278
+ const smithy_client_1 = require$$71;
14920
15279
  const commands = {
14921
15280
  AddMembersToGroupCommand: AddMembersToGroupCommand_1.AddMembersToGroupCommand,
14922
15281
  ApplicableVariantsCommand: ApplicableVariantsCommand_1.ApplicableVariantsCommand,
@@ -14938,19 +15297,25 @@ function requireSuperposition () {
14938
15297
  DeleteExperimentGroupCommand: DeleteExperimentGroupCommand_1.DeleteExperimentGroupCommand,
14939
15298
  DeleteFunctionCommand: DeleteFunctionCommand_1.DeleteFunctionCommand,
14940
15299
  DeleteTypeTemplatesCommand: DeleteTypeTemplatesCommand_1.DeleteTypeTemplatesCommand,
15300
+ DeleteWebhookCommand: DeleteWebhookCommand_1.DeleteWebhookCommand,
14941
15301
  DiscardExperimentCommand: DiscardExperimentCommand_1.DiscardExperimentCommand,
14942
15302
  GetConfigCommand: GetConfigCommand_1.GetConfigCommand,
14943
15303
  GetConfigFastCommand: GetConfigFastCommand_1.GetConfigFastCommand,
14944
15304
  GetContextCommand: GetContextCommand_1.GetContextCommand,
14945
15305
  GetContextFromConditionCommand: GetContextFromConditionCommand_1.GetContextFromConditionCommand,
15306
+ GetDefaultConfigCommand: GetDefaultConfigCommand_1.GetDefaultConfigCommand,
14946
15307
  GetDimensionCommand: GetDimensionCommand_1.GetDimensionCommand,
14947
15308
  GetExperimentCommand: GetExperimentCommand_1.GetExperimentCommand,
14948
15309
  GetExperimentGroupCommand: GetExperimentGroupCommand_1.GetExperimentGroupCommand,
14949
15310
  GetFunctionCommand: GetFunctionCommand_1.GetFunctionCommand,
14950
15311
  GetOrganisationCommand: GetOrganisationCommand_1.GetOrganisationCommand,
14951
15312
  GetResolvedConfigCommand: GetResolvedConfigCommand_1.GetResolvedConfigCommand,
15313
+ GetTypeTemplateCommand: GetTypeTemplateCommand_1.GetTypeTemplateCommand,
14952
15314
  GetTypeTemplatesListCommand: GetTypeTemplatesListCommand_1.GetTypeTemplatesListCommand,
15315
+ GetVersionCommand: GetVersionCommand_1.GetVersionCommand,
14953
15316
  GetWebhookCommand: GetWebhookCommand_1.GetWebhookCommand,
15317
+ GetWebhookByEventCommand: GetWebhookByEventCommand_1.GetWebhookByEventCommand,
15318
+ GetWorkspaceCommand: GetWorkspaceCommand_1.GetWorkspaceCommand,
14954
15319
  ListAuditLogsCommand: ListAuditLogsCommand_1.ListAuditLogsCommand,
14955
15320
  ListContextsCommand: ListContextsCommand_1.ListContextsCommand,
14956
15321
  ListDefaultConfigsCommand: ListDefaultConfigsCommand_1.ListDefaultConfigsCommand,
@@ -14980,6 +15345,7 @@ function requireSuperposition () {
14980
15345
  UpdateTypeTemplatesCommand: UpdateTypeTemplatesCommand_1.UpdateTypeTemplatesCommand,
14981
15346
  UpdateWebhookCommand: UpdateWebhookCommand_1.UpdateWebhookCommand,
14982
15347
  UpdateWorkspaceCommand: UpdateWorkspaceCommand_1.UpdateWorkspaceCommand,
15348
+ ValidateContextCommand: ValidateContextCommand_1.ValidateContextCommand,
14983
15349
  WeightRecomputeCommand: WeightRecomputeCommand_1.WeightRecomputeCommand,
14984
15350
  };
14985
15351
  let Superposition$1 = class Superposition extends SuperpositionClient_1.SuperpositionClient {
@@ -15019,19 +15385,25 @@ function requireCommands () {
15019
15385
  tslib_1.__exportStar(requireDeleteExperimentGroupCommand(), exports);
15020
15386
  tslib_1.__exportStar(requireDeleteFunctionCommand(), exports);
15021
15387
  tslib_1.__exportStar(requireDeleteTypeTemplatesCommand(), exports);
15388
+ tslib_1.__exportStar(requireDeleteWebhookCommand(), exports);
15022
15389
  tslib_1.__exportStar(requireDiscardExperimentCommand(), exports);
15023
15390
  tslib_1.__exportStar(requireGetConfigCommand(), exports);
15024
15391
  tslib_1.__exportStar(requireGetConfigFastCommand(), exports);
15025
15392
  tslib_1.__exportStar(requireGetContextCommand(), exports);
15026
15393
  tslib_1.__exportStar(requireGetContextFromConditionCommand(), exports);
15394
+ tslib_1.__exportStar(requireGetDefaultConfigCommand(), exports);
15027
15395
  tslib_1.__exportStar(requireGetDimensionCommand(), exports);
15028
15396
  tslib_1.__exportStar(requireGetExperimentCommand(), exports);
15029
15397
  tslib_1.__exportStar(requireGetExperimentGroupCommand(), exports);
15030
15398
  tslib_1.__exportStar(requireGetFunctionCommand(), exports);
15031
15399
  tslib_1.__exportStar(requireGetOrganisationCommand(), exports);
15032
15400
  tslib_1.__exportStar(requireGetResolvedConfigCommand(), exports);
15401
+ tslib_1.__exportStar(requireGetTypeTemplateCommand(), exports);
15033
15402
  tslib_1.__exportStar(requireGetTypeTemplatesListCommand(), exports);
15403
+ tslib_1.__exportStar(requireGetVersionCommand(), exports);
15034
15404
  tslib_1.__exportStar(requireGetWebhookCommand(), exports);
15405
+ tslib_1.__exportStar(requireGetWebhookByEventCommand(), exports);
15406
+ tslib_1.__exportStar(requireGetWorkspaceCommand(), exports);
15035
15407
  tslib_1.__exportStar(requireListAuditLogsCommand(), exports);
15036
15408
  tslib_1.__exportStar(requireListContextsCommand(), exports);
15037
15409
  tslib_1.__exportStar(requireListDefaultConfigsCommand(), exports);
@@ -15061,6 +15433,7 @@ function requireCommands () {
15061
15433
  tslib_1.__exportStar(requireUpdateTypeTemplatesCommand(), exports);
15062
15434
  tslib_1.__exportStar(requireUpdateWebhookCommand(), exports);
15063
15435
  tslib_1.__exportStar(requireUpdateWorkspaceCommand(), exports);
15436
+ tslib_1.__exportStar(requireValidateContextCommand(), exports);
15064
15437
  tslib_1.__exportStar(requireWeightRecomputeCommand(), exports);
15065
15438
  } (commands));
15066
15439
  return commands;
@@ -15114,10 +15487,11 @@ class ExperimentationClient {
15114
15487
  this.cachedExperiments = experiments;
15115
15488
  this.cachedExperimentGroups = experimentgroups;
15116
15489
  this.lastUpdated = new Date();
15117
- console.log('Experiments and Experiment Groups fetched successfully.');
15490
+ console.log("Experiments and Experiment Groups fetched successfully.");
15118
15491
  }
15119
15492
  // Set up refresh strategy
15120
- if (this.options.refreshStrategy && 'interval' in this.options.refreshStrategy) {
15493
+ if (this.options.refreshStrategy &&
15494
+ "interval" in this.options.refreshStrategy) {
15121
15495
  const strategy = this.options.refreshStrategy;
15122
15496
  this.startPolling(strategy.interval);
15123
15497
  }
@@ -15131,11 +15505,11 @@ class ExperimentationClient {
15131
15505
  this.cachedExperiments = experiments;
15132
15506
  this.cachedExperimentGroups = experimentGroups;
15133
15507
  this.lastUpdated = new Date();
15134
- console.log('Experiments and Experiment Groups refreshed successfully.');
15508
+ console.log("Experiments and Experiment Groups refreshed successfully.");
15135
15509
  }
15136
15510
  }
15137
15511
  catch (error) {
15138
- console.error('Polling error:', error);
15512
+ console.error("Polling error:", error);
15139
15513
  }
15140
15514
  }, interval);
15141
15515
  }
@@ -15144,7 +15518,11 @@ class ExperimentationClient {
15144
15518
  const commandInput = {
15145
15519
  workspace_id: this.superpositionOptions.workspace_id,
15146
15520
  org_id: this.superpositionOptions.org_id,
15147
- all: true
15521
+ all: true,
15522
+ status: [
15523
+ superpositionSdk.ExperimentStatusType.CREATED,
15524
+ superpositionSdk.ExperimentStatusType.INPROGRESS,
15525
+ ],
15148
15526
  };
15149
15527
  const command = new superpositionSdk.ListExperimentCommand(commandInput);
15150
15528
  const response = await this.smithyClient.send(command);
@@ -15156,7 +15534,7 @@ class ExperimentationClient {
15156
15534
  for (const exp of response.data) {
15157
15535
  // Skip experiments without required fields
15158
15536
  if (!exp.id) {
15159
- console.warn('Skipping experiment without ID');
15537
+ console.warn("Skipping experiment without ID");
15160
15538
  continue;
15161
15539
  }
15162
15540
  const variants = [];
@@ -15168,7 +15546,8 @@ class ExperimentationClient {
15168
15546
  continue;
15169
15547
  }
15170
15548
  const variantType = variant.variant_type;
15171
- if (variantType !== 'CONTROL' && variantType !== 'EXPERIMENTAL') {
15549
+ if (variantType !== superpositionSdk.VariantType.CONTROL &&
15550
+ variantType !== superpositionSdk.VariantType.EXPERIMENTAL) {
15172
15551
  console.warn(`Invalid variant type: ${variant.variant_type}`);
15173
15552
  continue;
15174
15553
  }
@@ -15177,7 +15556,7 @@ class ExperimentationClient {
15177
15556
  variant_type: variantType,
15178
15557
  context_id: variant.context_id,
15179
15558
  override_id: variant.override_id,
15180
- overrides: this.normalizeToStringRecord(variant.overrides)
15559
+ overrides: this.normalizeToStringRecord(variant.overrides),
15181
15560
  });
15182
15561
  }
15183
15562
  }
@@ -15185,13 +15564,13 @@ class ExperimentationClient {
15185
15564
  id: exp.id,
15186
15565
  context: this.normalizeToStringRecord(exp.context),
15187
15566
  variants: variants,
15188
- traffic_percentage: exp.traffic_percentage || 100
15567
+ traffic_percentage: exp.traffic_percentage || 100,
15189
15568
  });
15190
15569
  }
15191
15570
  return experiments;
15192
15571
  }
15193
15572
  catch (error) {
15194
- console.error('Error fetching experiments from Superposition:', error);
15573
+ console.error("Error fetching experiments from Superposition:", error);
15195
15574
  return null;
15196
15575
  }
15197
15576
  }
@@ -15200,7 +15579,7 @@ class ExperimentationClient {
15200
15579
  const commandInput = {
15201
15580
  workspace_id: this.superpositionOptions.workspace_id,
15202
15581
  org_id: this.superpositionOptions.org_id,
15203
- all: true
15582
+ all: true,
15204
15583
  };
15205
15584
  const command = new superpositionSdk.ListExperimentGroupsCommand(commandInput);
15206
15585
  const response = await this.smithyClient.send(command);
@@ -15212,7 +15591,7 @@ class ExperimentationClient {
15212
15591
  for (const exp_group of response.data) {
15213
15592
  // Skip experiment groups without required fields
15214
15593
  if (!exp_group.id) {
15215
- console.warn('Skipping experiment group without ID');
15594
+ console.warn("Skipping experiment group without ID");
15216
15595
  continue;
15217
15596
  }
15218
15597
  experimentGroups.push({
@@ -15220,13 +15599,15 @@ class ExperimentationClient {
15220
15599
  context: this.normalizeToStringRecord(exp_group.context),
15221
15600
  traffic_percentage: exp_group.traffic_percentage || 100,
15222
15601
  member_experiment_ids: exp_group.member_experiment_ids || [],
15223
- group_type: exp_group.group_type || superpositionSdk.GroupType.USER_CREATED
15602
+ group_type: exp_group.group_type ||
15603
+ superpositionSdk.GroupType.USER_CREATED,
15604
+ buckets: exp_group.buckets || [],
15224
15605
  });
15225
15606
  }
15226
15607
  return experimentGroups;
15227
15608
  }
15228
15609
  catch (error) {
15229
- console.error('Error fetching experiment groups from Superposition:', error);
15610
+ console.error("Error fetching experiment groups from Superposition:", error);
15230
15611
  return null;
15231
15612
  }
15232
15613
  }
@@ -15241,9 +15622,9 @@ class ExperimentationClient {
15241
15622
  return result;
15242
15623
  }
15243
15624
  // If it's already a record/object
15244
- if (typeof value === 'object' && !Array.isArray(value)) {
15625
+ if (typeof value === "object" && !Array.isArray(value)) {
15245
15626
  for (const [key, val] of Object.entries(value)) {
15246
- if (typeof val === 'string') {
15627
+ if (typeof val === "string") {
15247
15628
  result[key] = val;
15248
15629
  }
15249
15630
  else if (val != null) {
@@ -15258,14 +15639,16 @@ class ExperimentationClient {
15258
15639
  return result;
15259
15640
  }
15260
15641
  async getExperiments() {
15261
- if (this.options.refreshStrategy && 'ttl' in this.options.refreshStrategy) {
15642
+ if (this.options.refreshStrategy &&
15643
+ "ttl" in this.options.refreshStrategy) {
15262
15644
  const strategy = this.options.refreshStrategy;
15263
15645
  const now = new Date();
15264
15646
  const shouldRefresh = !this.lastUpdated ||
15265
- (now.getTime() - this.lastUpdated.getTime()) > strategy.ttl * 1000;
15647
+ now.getTime() - this.lastUpdated.getTime() >
15648
+ strategy.ttl * 1000;
15266
15649
  if (shouldRefresh) {
15267
15650
  try {
15268
- console.log('TTL expired. Fetching experiments on-demand.');
15651
+ console.log("TTL expired. Fetching experiments on-demand.");
15269
15652
  const experiments = await this.fetchExperiments();
15270
15653
  if (experiments) {
15271
15654
  this.cachedExperiments = experiments;
@@ -15273,25 +15656,28 @@ class ExperimentationClient {
15273
15656
  }
15274
15657
  }
15275
15658
  catch (error) {
15276
- console.warn('On-demand fetch failed:', error);
15277
- if (!strategy.use_stale_on_error || !this.cachedExperiments) {
15659
+ console.warn("On-demand fetch failed:", error);
15660
+ if (!strategy.use_stale_on_error ||
15661
+ !this.cachedExperiments) {
15278
15662
  throw error;
15279
15663
  }
15280
- console.log('Using stale experiments due to error.');
15664
+ console.log("Using stale experiments due to error.");
15281
15665
  }
15282
15666
  }
15283
15667
  }
15284
15668
  return this.cachedExperiments || [];
15285
15669
  }
15286
15670
  async getExperimentGroups() {
15287
- if (this.options.refreshStrategy && 'ttl' in this.options.refreshStrategy) {
15671
+ if (this.options.refreshStrategy &&
15672
+ "ttl" in this.options.refreshStrategy) {
15288
15673
  const strategy = this.options.refreshStrategy;
15289
15674
  const now = new Date();
15290
15675
  const shouldRefresh = !this.lastUpdated ||
15291
- (now.getTime() - this.lastUpdated.getTime()) > strategy.ttl * 1000;
15676
+ now.getTime() - this.lastUpdated.getTime() >
15677
+ strategy.ttl * 1000;
15292
15678
  if (shouldRefresh) {
15293
15679
  try {
15294
- console.log('TTL expired. Fetching experiment groups on-demand.');
15680
+ console.log("TTL expired. Fetching experiment groups on-demand.");
15295
15681
  const experimentGroups = await this.fetchExperimentGroups();
15296
15682
  if (experimentGroups) {
15297
15683
  this.cachedExperimentGroups = experimentGroups;
@@ -15299,11 +15685,12 @@ class ExperimentationClient {
15299
15685
  }
15300
15686
  }
15301
15687
  catch (error) {
15302
- console.warn('On-demand fetch failed:', error);
15303
- if (!strategy.use_stale_on_error || !this.cachedExperimentGroups) {
15688
+ console.warn("On-demand fetch failed:", error);
15689
+ if (!strategy.use_stale_on_error ||
15690
+ !this.cachedExperimentGroups) {
15304
15691
  throw error;
15305
15692
  }
15306
- console.log('Using stale experiment groups due to error.');
15693
+ console.log("Using stale experiment groups due to error.");
15307
15694
  }
15308
15695
  }
15309
15696
  }
@@ -15325,15 +15712,15 @@ class ExperimentationClient {
15325
15712
  try {
15326
15713
  if (this.pollingInterval) {
15327
15714
  clearInterval(this.pollingInterval);
15328
- console.log('Polling stopped successfully');
15715
+ console.log("Polling stopped successfully");
15329
15716
  }
15330
15717
  this.clearEvalCache();
15331
15718
  this.cachedExperiments = null;
15332
15719
  this.lastUpdated = null;
15333
- console.log('ExperimentationClient closed successfully');
15720
+ console.log("ExperimentationClient closed successfully");
15334
15721
  }
15335
15722
  catch (error) {
15336
- console.error('Error during ExperimentationClient cleanup:', error);
15723
+ console.error("Error during ExperimentationClient cleanup:", error);
15337
15724
  throw error;
15338
15725
  }
15339
15726
  }
@@ -15423,6 +15810,7 @@ class ConfigurationClient {
15423
15810
  throw new Error(`Failed to fetch configuration: ${errorMessage}`);
15424
15811
  }
15425
15812
  }
15813
+ // TODO: defaultValue is taken but not used. Should it be used as a fallback?
15426
15814
  async getAllConfigValue(defaultValue, context, targetingKey) {
15427
15815
  try {
15428
15816
  const configData = await this.fetchConfigData();
@@ -15430,9 +15818,10 @@ class ConfigurationClient {
15430
15818
  let queryData = { ...context };
15431
15819
  if (this.experimentationClient && targetingKey) {
15432
15820
  const experiments = await this.experimentationClient.getExperiments();
15821
+ const experiment_groups = await this.experimentationClient.getExperimentGroups();
15433
15822
  const identifier = this.experimentationOptions?.defaultIdentifier ||
15434
15823
  (targetingKey ? targetingKey : "default");
15435
- const variantIds = await this.getApplicableVariants(experiments, queryData, identifier);
15824
+ const variantIds = await this.getApplicableVariants(experiments, experiment_groups, this.currentConfigData?.dimensions || {}, queryData, identifier);
15436
15825
  if (variantIds.length > 0) {
15437
15826
  queryData.variantIds = variantIds;
15438
15827
  }
@@ -15448,9 +15837,9 @@ class ConfigurationClient {
15448
15837
  }
15449
15838
  }
15450
15839
  // Add method to get applicable variants
15451
- async getApplicableVariants(experiments, queryData, identifier, filterPrefixes) {
15840
+ async getApplicableVariants(experiments, experiment_groups, dimensions, queryData, identifier, filterPrefixes) {
15452
15841
  // This would use the native resolver's getApplicableVariants method
15453
- return this.resolver.getApplicableVariants(experiments, queryData, identifier, filterPrefixes || []);
15842
+ return this.resolver.getApplicableVariants(experiments, experiment_groups, dimensions, queryData, identifier, filterPrefixes || []);
15454
15843
  }
15455
15844
  // Add method to close and cleanup
15456
15845
  async close() {
@@ -15644,7 +16033,7 @@ class NativeResolver {
15644
16033
  throw new Error(`Failed to parse reasoning evaluation result: ${parseError}`);
15645
16034
  }
15646
16035
  }
15647
- getApplicableVariants(experiments, dimensions, userContext, identifier, filterPrefixes = []) {
16036
+ getApplicableVariants(experiments, experiment_groups, dimensions, userContext, identifier, filterPrefixes = []) {
15648
16037
  if (!this.isAvailable) {
15649
16038
  throw new Error("Native resolver is not available. Please ensure the native library is built and accessible.");
15650
16039
  }
@@ -15655,15 +16044,17 @@ class NativeResolver {
15655
16044
  throw new Error("userContext parameter is required");
15656
16045
  }
15657
16046
  const experimentsJson = JSON.stringify(experiments);
16047
+ const experimentGroupsJson = JSON.stringify(experiment_groups);
15658
16048
  const userContextJson = JSON.stringify(userContext);
15659
16049
  const dimensionsJson = JSON.stringify(dimensions);
15660
16050
  const filterPrefixesJson = filterPrefixes.length > 0 ? JSON.stringify(filterPrefixes) : null;
15661
- console.log("🔧 Calling FFI getApplicableVariants with parameters:");
15662
- console.log(" experiments:", experiments);
16051
+ console.log("Calling FFI getApplicableVariants with parameters:");
16052
+ console.log(" experiments:", experiments.length);
16053
+ console.log(" experimentGroups:", experiment_groups.length);
15663
16054
  console.log(" userContext:", userContext);
15664
16055
  console.log(" identifier:", identifier);
15665
16056
  console.log(" filterPrefixes:", filterPrefixes);
15666
- const result = this.lib.core_get_applicable_variants(experimentsJson, dimensionsJson, userContextJson, identifier, filterPrefixesJson);
16057
+ const result = this.lib.core_get_applicable_variants(experimentsJson, experimentGroupsJson, dimensionsJson, userContextJson, identifier, filterPrefixesJson);
15667
16058
  console.log("FFI getApplicableVariants call completed, result:", result);
15668
16059
  if (!result) {
15669
16060
  this.throwLastError("Failed to get applicable variants");