File Explorer

/proc/4/root/var/runtime/node_modules/@aws-sdk/client-qapps/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

2 dirs
3 files
index.js118 KB · 2914 lines
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => {  for (var name in all)    __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => {  if (from && typeof from === "object" || typeof from === "function") {    for (let key of __getOwnPropNames(from))      if (!__hasOwnProp.call(to, key) && key !== except)        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });  }  return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, {  AccessDeniedException: () => AccessDeniedException,  Action: () => Action,  AppRequiredCapability: () => AppRequiredCapability,  AppStatus: () => AppStatus,  AssociateLibraryItemReviewCommand: () => AssociateLibraryItemReviewCommand,  AssociateQAppWithUserCommand: () => AssociateQAppWithUserCommand,  BatchCreateCategoryCommand: () => BatchCreateCategoryCommand,  BatchDeleteCategoryCommand: () => BatchDeleteCategoryCommand,  BatchUpdateCategoryCommand: () => BatchUpdateCategoryCommand,  Card: () => Card,  CardInput: () => CardInput,  CardOutputSource: () => CardOutputSource,  CardType: () => CardType,  ConflictException: () => ConflictException,  ContentTooLargeException: () => ContentTooLargeException,  CreateLibraryItemCommand: () => CreateLibraryItemCommand,  CreatePresignedUrlCommand: () => CreatePresignedUrlCommand,  CreateQAppCommand: () => CreateQAppCommand,  DeleteLibraryItemCommand: () => DeleteLibraryItemCommand,  DeleteQAppCommand: () => DeleteQAppCommand,  DescribeQAppPermissionsCommand: () => DescribeQAppPermissionsCommand,  DisassociateLibraryItemReviewCommand: () => DisassociateLibraryItemReviewCommand,  DisassociateQAppFromUserCommand: () => DisassociateQAppFromUserCommand,  DocumentAttributeValue: () => DocumentAttributeValue,  DocumentScope: () => DocumentScope,  ExecutionStatus: () => ExecutionStatus,  ExportQAppSessionDataCommand: () => ExportQAppSessionDataCommand,  GetLibraryItemCommand: () => GetLibraryItemCommand,  GetQAppCommand: () => GetQAppCommand,  GetQAppSessionCommand: () => GetQAppSessionCommand,  GetQAppSessionMetadataCommand: () => GetQAppSessionMetadataCommand,  ImportDocumentCommand: () => ImportDocumentCommand,  InputCardComputeMode: () => InputCardComputeMode,  InternalServerException: () => InternalServerException,  LibraryItemStatus: () => LibraryItemStatus,  ListCategoriesCommand: () => ListCategoriesCommand,  ListLibraryItemsCommand: () => ListLibraryItemsCommand,  ListQAppSessionDataCommand: () => ListQAppSessionDataCommand,  ListQAppsCommand: () => ListQAppsCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  PluginType: () => PluginType,  PredictQAppCommand: () => PredictQAppCommand,  PredictQAppInputOptions: () => PredictQAppInputOptions,  QApps: () => QApps,  QAppsClient: () => QAppsClient,  QAppsServiceException: () => QAppsServiceException,  ResourceNotFoundException: () => ResourceNotFoundException,  Sender: () => Sender,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  StartQAppSessionCommand: () => StartQAppSessionCommand,  StopQAppSessionCommand: () => StopQAppSessionCommand,  SubmissionMutationKind: () => SubmissionMutationKind,  TagResourceCommand: () => TagResourceCommand,  ThrottlingException: () => ThrottlingException,  UnauthorizedException: () => UnauthorizedException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateLibraryItemCommand: () => UpdateLibraryItemCommand,  UpdateLibraryItemMetadataCommand: () => UpdateLibraryItemMetadataCommand,  UpdateQAppCommand: () => UpdateQAppCommand,  UpdateQAppPermissionsCommand: () => UpdateQAppPermissionsCommand,  UpdateQAppSessionCommand: () => UpdateQAppSessionCommand,  UpdateQAppSessionMetadataCommand: () => UpdateQAppSessionMetadataCommand,  UserType: () => UserType,  ValidationException: () => ValidationException,  __Client: () => import_smithy_client.Client,  paginateListLibraryItems: () => paginateListLibraryItems,  paginateListQApps: () => paginateListQApps});module.exports = __toCommonJS(index_exports); // src/QAppsClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {  return Object.assign(options, {    useDualstackEndpoint: options.useDualstackEndpoint ?? false,    useFipsEndpoint: options.useFipsEndpoint ?? false,    defaultSigningName: "qapps"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/QAppsClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;  let _credentials = runtimeConfig.credentials;  return {    setHttpAuthScheme(httpAuthScheme) {      const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);      if (index === -1) {        _httpAuthSchemes.push(httpAuthScheme);      } else {        _httpAuthSchemes.splice(index, 1, httpAuthScheme);      }    },    httpAuthSchemes() {      return _httpAuthSchemes;    },    setHttpAuthSchemeProvider(httpAuthSchemeProvider) {      _httpAuthSchemeProvider = httpAuthSchemeProvider;    },    httpAuthSchemeProvider() {      return _httpAuthSchemeProvider;    },    setCredentials(credentials) {      _credentials = credentials;    },    credentials() {      return _credentials;    }  };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {  return {    httpAuthSchemes: config.httpAuthSchemes(),    httpAuthSchemeProvider: config.httpAuthSchemeProvider(),    credentials: config.credentials()  };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {  const extensionConfiguration = Object.assign(    (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),    (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),    (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),    getHttpAuthExtensionConfiguration(runtimeConfig)  );  extensions.forEach((extension) => extension.configure(extensionConfiguration));  return Object.assign(    runtimeConfig,    (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),    (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),    (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),    resolveHttpAuthRuntimeConfig(extensionConfiguration)  );}, "resolveRuntimeExtensions"); // src/QAppsClient.tsvar QAppsClient = class extends import_smithy_client.Client {  static {    __name(this, "QAppsClient");  }  /**   * The resolved configuration of QAppsClient class. This is resolved and normalized from the {@link QAppsClientConfig | constructor configuration interface}.   */  config;  constructor(...[configuration]) {    const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});    super(_config_0);    this.initConfig = _config_0;    const _config_1 = resolveClientEndpointParameters(_config_0);    const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);    const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);    const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);    const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);    const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);    const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);    const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);    this.config = _config_8;    this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));    this.middlewareStack.use(      (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {        httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultQAppsHttpAuthSchemeParametersProvider,        identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({          "aws.auth#sigv4": config.credentials        }), "identityProviderConfigProvider")      })    );    this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));  }  /**   * Destroy underlying resources, like sockets. It's usually not necessary to do this.   * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.   * Otherwise, sockets might stay open for quite a long time before the server terminates them.   */  destroy() {    super.destroy();  }}; // src/QApps.ts  // src/commands/AssociateLibraryItemReviewCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");   // src/models/QAppsServiceException.ts var QAppsServiceException = class _QAppsServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "QAppsServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _QAppsServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends QAppsServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);  }};var Action = {  READ: "read",  WRITE: "write"};var CardType = {  FILE_UPLOAD: "file-upload",  FORM_INPUT: "form-input",  Q_PLUGIN: "q-plugin",  Q_QUERY: "q-query",  TEXT_INPUT: "text-input"};var InputCardComputeMode = {  APPEND: "append",  REPLACE: "replace"};var PluginType = {  ASANA: "ASANA",  ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",  CUSTOM: "CUSTOM",  GOOGLE_CALENDAR: "GOOGLE_CALENDAR",  JIRA: "JIRA",  JIRA_CLOUD: "JIRA_CLOUD",  MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",  MICROSOFT_TEAMS: "MICROSOFT_TEAMS",  PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",  SALESFORCE: "SALESFORCE",  SALESFORCE_CRM: "SALESFORCE_CRM",  SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",  SERVICE_NOW: "SERVICE_NOW",  SMARTSHEET: "SMARTSHEET",  ZENDESK: "ZENDESK",  ZENDESK_SUITE: "ZENDESK_SUITE"};var DocumentAttributeValue;((DocumentAttributeValue2) => {  DocumentAttributeValue2.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);    if (value.stringListValue !== void 0) return visitor.stringListValue(value.stringListValue);    if (value.longValue !== void 0) return visitor.longValue(value.longValue);    if (value.dateValue !== void 0) return visitor.dateValue(value.dateValue);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(DocumentAttributeValue || (DocumentAttributeValue = {}));var CardOutputSource = {  APPROVED_SOURCES: "approved-sources",  LLM: "llm"};var AppRequiredCapability = {  CREATOR_MODE: "CreatorMode",  FILE_UPLOAD: "FileUpload",  PLUGIN_MODE: "PluginMode",  RETRIEVAL_MODE: "RetrievalMode"};var AppStatus = {  DELETED: "DELETED",  DRAFT: "DRAFT",  PUBLISHED: "PUBLISHED"};var ConflictException = class _ConflictException extends QAppsServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  /**   * <p>The unique identifier of the resource</p>   * @public   */  resourceId;  /**   * <p>The type of the resource</p>   * @public   */  resourceType;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.resourceId = opts.resourceId;    this.resourceType = opts.resourceType;  }};var InternalServerException = class _InternalServerException extends QAppsServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  $retryable = {};  /**   * <p>The number of seconds to wait before retrying the operation</p>   * @public   */  retryAfterSeconds;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);    this.retryAfterSeconds = opts.retryAfterSeconds;  }};var ResourceNotFoundException = class _ResourceNotFoundException extends QAppsServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  /**   * <p>The unique identifier of the resource</p>   * @public   */  resourceId;  /**   * <p>The type of the resource</p>   * @public   */  resourceType;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.resourceId = opts.resourceId;    this.resourceType = opts.resourceType;  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends QAppsServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  /**   * <p>The unique identifier of the resource</p>   * @public   */  resourceId;  /**   * <p>The type of the resource</p>   * @public   */  resourceType;  /**   * <p>The code for the service where the quota was exceeded</p>   * @public   */  serviceCode;  /**   * <p>The code of the quota that was exceeded</p>   * @public   */  quotaCode;  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);    this.resourceId = opts.resourceId;    this.resourceType = opts.resourceType;    this.serviceCode = opts.serviceCode;    this.quotaCode = opts.quotaCode;  }};var ThrottlingException = class _ThrottlingException extends QAppsServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  $retryable = {    throttling: true  };  /**   * <p>The code for the service where the quota was exceeded</p>   * @public   */  serviceCode;  /**   * <p>The code of the quota that was exceeded</p>   * @public   */  quotaCode;  /**   * <p>The number of seconds to wait before retrying the operation</p>   * @public   */  retryAfterSeconds;  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);    this.serviceCode = opts.serviceCode;    this.quotaCode = opts.quotaCode;    this.retryAfterSeconds = opts.retryAfterSeconds;  }};var UnauthorizedException = class _UnauthorizedException extends QAppsServiceException {  static {    __name(this, "UnauthorizedException");  }  name = "UnauthorizedException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "UnauthorizedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _UnauthorizedException.prototype);  }};var ValidationException = class _ValidationException extends QAppsServiceException {  static {    __name(this, "ValidationException");  }  name = "ValidationException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ValidationException.prototype);  }};var ExecutionStatus = {  COMPLETED: "COMPLETED",  ERROR: "ERROR",  IN_PROGRESS: "IN_PROGRESS",  WAITING: "WAITING"};var SubmissionMutationKind = {  add: "add",  delete: "delete",  edit: "edit"};var ContentTooLargeException = class _ContentTooLargeException extends QAppsServiceException {  static {    __name(this, "ContentTooLargeException");  }  name = "ContentTooLargeException";  $fault = "client";  /**   * <p>The unique identifier of the resource</p>   * @public   */  resourceId;  /**   * <p>The type of the resource</p>   * @public   */  resourceType;  /**   * @internal   */  constructor(opts) {    super({      name: "ContentTooLargeException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ContentTooLargeException.prototype);    this.resourceId = opts.resourceId;    this.resourceType = opts.resourceType;  }};var Sender = {  SYSTEM: "SYSTEM",  USER: "USER"};var DocumentScope = {  APPLICATION: "APPLICATION",  SESSION: "SESSION"};var UserType = {  OWNER: "owner",  USER: "user"};var LibraryItemStatus = {  DISABLED: "DISABLED",  PUBLISHED: "PUBLISHED"};var PredictQAppInputOptions;((PredictQAppInputOptions3) => {  PredictQAppInputOptions3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.conversation !== void 0) return visitor.conversation(value.conversation);    if (value.problemStatement !== void 0) return visitor.problemStatement(value.problemStatement);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(PredictQAppInputOptions || (PredictQAppInputOptions = {}));var Card;((Card3) => {  Card3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.textInput !== void 0) return visitor.textInput(value.textInput);    if (value.qQuery !== void 0) return visitor.qQuery(value.qQuery);    if (value.qPlugin !== void 0) return visitor.qPlugin(value.qPlugin);    if (value.fileUpload !== void 0) return visitor.fileUpload(value.fileUpload);    if (value.formInput !== void 0) return visitor.formInput(value.formInput);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(Card || (Card = {}));var CardInput;((CardInput2) => {  CardInput2.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.textInput !== void 0) return visitor.textInput(value.textInput);    if (value.qQuery !== void 0) return visitor.qQuery(value.qQuery);    if (value.qPlugin !== void 0) return visitor.qPlugin(value.qPlugin);    if (value.fileUpload !== void 0) return visitor.fileUpload(value.fileUpload);    if (value.formInput !== void 0) return visitor.formInput(value.formInput);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(CardInput || (CardInput = {})); // src/protocols/Aws_restJson1.tsvar se_AssociateLibraryItemReviewCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.associateItemRating");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      libraryItemId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_AssociateLibraryItemReviewCommand");var se_AssociateQAppWithUserCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.install");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_AssociateQAppWithUserCommand");var se_BatchCreateCategoryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.createCategories");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      categories: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "categories")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_BatchCreateCategoryCommand");var se_BatchDeleteCategoryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.deleteCategories");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      categories: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "categories")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_BatchDeleteCategoryCommand");var se_BatchUpdateCategoryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.updateCategories");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      categories: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "categories")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_BatchUpdateCategoryCommand");var se_CreateLibraryItemCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.createItem");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: [],      appVersion: [],      categories: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "categories")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateLibraryItemCommand");var se_CreatePresignedUrlCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.createPresignedUrl");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: [],      cardId: [],      fileContentsSha256: [],      fileName: [],      scope: [],      sessionId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreatePresignedUrlCommand");var se_CreateQAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.create");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appDefinition: /* @__PURE__ */ __name((_) => se_AppDefinitionInput(_, context), "appDefinition"),      description: [],      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),      title: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateQAppCommand");var se_DeleteLibraryItemCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.deleteItem");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      libraryItemId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteLibraryItemCommand");var se_DeleteQAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.delete");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteQAppCommand");var se_DescribeQAppPermissionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/apps.describeQAppPermissions");  const query = (0, import_smithy_client.map)({    [_aI]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `appId`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_DescribeQAppPermissionsCommand");var se_DisassociateLibraryItemReviewCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.disassociateItemRating");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      libraryItemId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateLibraryItemReviewCommand");var se_DisassociateQAppFromUserCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.uninstall");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateQAppFromUserCommand");var se_ExportQAppSessionDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/runtime.exportQAppSessionData");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sessionId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ExportQAppSessionDataCommand");var se_GetLibraryItemCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/catalog.getItem");  const query = (0, import_smithy_client.map)({    [_lII]: [, (0, import_smithy_client.expectNonNull)(input[_lII], `libraryItemId`)],    [_aI]: [, input[_aI]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetLibraryItemCommand");var se_GetQAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/apps.get");  const query = (0, import_smithy_client.map)({    [_aI]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `appId`)],    [_aV]: [() => input.appVersion !== void 0, () => input[_aV].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetQAppCommand");var se_GetQAppSessionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/runtime.getQAppSession");  const query = (0, import_smithy_client.map)({    [_sI]: [, (0, import_smithy_client.expectNonNull)(input[_sI], `sessionId`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetQAppSessionCommand");var se_GetQAppSessionMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/runtime.getQAppSessionMetadata");  const query = (0, import_smithy_client.map)({    [_sI]: [, (0, import_smithy_client.expectNonNull)(input[_sI], `sessionId`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetQAppSessionMetadataCommand");var se_ImportDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.importDocument");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: [],      cardId: [],      fileContentsBase64: [],      fileName: [],      scope: [],      sessionId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ImportDocumentCommand");var se_ListCategoriesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/catalog.listCategories");  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_ListCategoriesCommand");var se_ListLibraryItemsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/catalog.list");  const query = (0, import_smithy_client.map)({    [_l]: [() => input.limit !== void 0, () => input[_l].toString()],    [_nT]: [, input[_nT]],    [_cI]: [, input[_cI]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListLibraryItemsCommand");var se_ListQAppsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/apps.list");  const query = (0, import_smithy_client.map)({    [_l]: [() => input.limit !== void 0, () => input[_l].toString()],    [_nT]: [, input[_nT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListQAppsCommand");var se_ListQAppSessionDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ii]: input[_iI]  });  b.bp("/runtime.listQAppSessionData");  const query = (0, import_smithy_client.map)({    [_sI]: [, (0, import_smithy_client.expectNonNull)(input[_sI], `sessionId`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListQAppSessionDataCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{resourceARN}");  b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_PredictQAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.predictQApp");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      options: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "options")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_PredictQAppCommand");var se_StartQAppSessionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/runtime.startQAppSession");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: [],      appVersion: [],      initialValues: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "initialValues"),      sessionId: [],      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartQAppSessionCommand");var se_StopQAppSessionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/runtime.deleteMiniAppRun");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sessionId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopQAppSessionCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tags/{resourceARN}");  b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{resourceARN}");  b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);  const query = (0, import_smithy_client.map)({    [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateLibraryItemCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.updateItem");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      categories: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "categories"),      libraryItemId: [],      status: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateLibraryItemCommand");var se_UpdateLibraryItemMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/catalog.updateItemMetadata");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      isVerified: [],      libraryItemId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateLibraryItemMetadataCommand");var se_UpdateQAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.update");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appDefinition: /* @__PURE__ */ __name((_) => se_AppDefinitionInput(_, context), "appDefinition"),      appId: [],      description: [],      title: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQAppCommand");var se_UpdateQAppPermissionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/apps.updateQAppPermissions");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      appId: [],      grantPermissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "grantPermissions"),      revokePermissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "revokePermissions")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQAppPermissionsCommand");var se_UpdateQAppSessionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/runtime.updateQAppSession");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sessionId: [],      values: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "values")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQAppSessionCommand");var se_UpdateQAppSessionMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_ii]: input[_iI]  });  b.bp("/runtime.updateQAppSessionMetadata");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      sessionId: [],      sessionName: [],      sharingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sharingConfiguration")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQAppSessionMetadataCommand");var de_AssociateLibraryItemReviewCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateLibraryItemReviewCommand");var de_AssociateQAppWithUserCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateQAppWithUserCommand");var de_BatchCreateCategoryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_BatchCreateCategoryCommand");var de_BatchDeleteCategoryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_BatchDeleteCategoryCommand");var de_BatchUpdateCategoryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_BatchUpdateCategoryCommand");var de_CreateLibraryItemCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    createdBy: import_smithy_client.expectString,    isVerified: import_smithy_client.expectBoolean,    libraryItemId: import_smithy_client.expectString,    ratingCount: import_smithy_client.expectInt32,    status: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),    updatedBy: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateLibraryItemCommand");var de_CreatePresignedUrlCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    fileId: import_smithy_client.expectString,    presignedUrl: import_smithy_client.expectString,    presignedUrlExpiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "presignedUrlExpiration"),    presignedUrlFields: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_CreatePresignedUrlCommand");var de_CreateQAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appArn: import_smithy_client.expectString,    appId: import_smithy_client.expectString,    appVersion: import_smithy_client.expectInt32,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    createdBy: import_smithy_client.expectString,    description: import_smithy_client.expectString,    initialPrompt: import_smithy_client.expectString,    requiredCapabilities: import_smithy_client._json,    status: import_smithy_client.expectString,    title: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),    updatedBy: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateQAppCommand");var de_DeleteLibraryItemCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteLibraryItemCommand");var de_DeleteQAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteQAppCommand");var de_DescribeQAppPermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appId: import_smithy_client.expectString,    permissions: import_smithy_client._json,    resourceArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DescribeQAppPermissionsCommand");var de_DisassociateLibraryItemReviewCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateLibraryItemReviewCommand");var de_DisassociateQAppFromUserCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateQAppFromUserCommand");var de_ExportQAppSessionDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    csvFileLink: import_smithy_client.expectString,    expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "expiresAt"),    sessionArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ExportQAppSessionDataCommand");var de_GetLibraryItemCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appId: import_smithy_client.expectString,    appVersion: import_smithy_client.expectInt32,    categories: import_smithy_client._json,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    createdBy: import_smithy_client.expectString,    isRatedByUser: import_smithy_client.expectBoolean,    isVerified: import_smithy_client.expectBoolean,    libraryItemId: import_smithy_client.expectString,    ratingCount: import_smithy_client.expectInt32,    status: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),    updatedBy: import_smithy_client.expectString,    userCount: import_smithy_client.expectInt32  });  Object.assign(contents, doc);  return contents;}, "de_GetLibraryItemCommand");var de_GetQAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appArn: import_smithy_client.expectString,    appDefinition: /* @__PURE__ */ __name((_) => de_AppDefinition(_, context), "appDefinition"),    appId: import_smithy_client.expectString,    appVersion: import_smithy_client.expectInt32,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    createdBy: import_smithy_client.expectString,    description: import_smithy_client.expectString,    initialPrompt: import_smithy_client.expectString,    requiredCapabilities: import_smithy_client._json,    status: import_smithy_client.expectString,    title: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),    updatedBy: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetQAppCommand");var de_GetQAppSessionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appVersion: import_smithy_client.expectInt32,    cardStatus: /* @__PURE__ */ __name((_) => de_CardStatusMap(_, context), "cardStatus"),    latestPublishedAppVersion: import_smithy_client.expectInt32,    sessionArn: import_smithy_client.expectString,    sessionId: import_smithy_client.expectString,    sessionName: import_smithy_client.expectString,    status: import_smithy_client.expectString,    userIsHost: import_smithy_client.expectBoolean  });  Object.assign(contents, doc);  return contents;}, "de_GetQAppSessionCommand");var de_GetQAppSessionMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    sessionArn: import_smithy_client.expectString,    sessionId: import_smithy_client.expectString,    sessionName: import_smithy_client.expectString,    sessionOwner: import_smithy_client.expectBoolean,    sharingConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetQAppSessionMetadataCommand");var de_ImportDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    fileId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ImportDocumentCommand");var de_ListCategoriesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    categories: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListCategoriesCommand");var de_ListLibraryItemsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    libraryItems: /* @__PURE__ */ __name((_) => de_LibraryItemList(_, context), "libraryItems"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListLibraryItemsCommand");var de_ListQAppsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    apps: /* @__PURE__ */ __name((_) => de_UserAppsList(_, context), "apps"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListQAppsCommand");var de_ListQAppSessionDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    nextToken: import_smithy_client.expectString,    sessionArn: import_smithy_client.expectString,    sessionData: /* @__PURE__ */ __name((_) => de_QAppSessionDataList(_, context), "sessionData"),    sessionId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListQAppSessionDataCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTagsForResourceCommand");var de_PredictQAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    app: /* @__PURE__ */ __name((_) => de_PredictAppDefinition(_, context), "app"),    problemStatement: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_PredictQAppCommand");var de_StartQAppSessionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    sessionArn: import_smithy_client.expectString,    sessionId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartQAppSessionCommand");var de_StopQAppSessionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopQAppSessionCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagResourceCommand");var de_UpdateLibraryItemCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appId: import_smithy_client.expectString,    appVersion: import_smithy_client.expectInt32,    categories: import_smithy_client._json,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    createdBy: import_smithy_client.expectString,    isRatedByUser: import_smithy_client.expectBoolean,    isVerified: import_smithy_client.expectBoolean,    libraryItemId: import_smithy_client.expectString,    ratingCount: import_smithy_client.expectInt32,    status: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),    updatedBy: import_smithy_client.expectString,    userCount: import_smithy_client.expectInt32  });  Object.assign(contents, doc);  return contents;}, "de_UpdateLibraryItemCommand");var de_UpdateLibraryItemMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateLibraryItemMetadataCommand");var de_UpdateQAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appArn: import_smithy_client.expectString,    appId: import_smithy_client.expectString,    appVersion: import_smithy_client.expectInt32,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    createdBy: import_smithy_client.expectString,    description: import_smithy_client.expectString,    initialPrompt: import_smithy_client.expectString,    requiredCapabilities: import_smithy_client._json,    status: import_smithy_client.expectString,    title: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),    updatedBy: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateQAppCommand");var de_UpdateQAppPermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    appId: import_smithy_client.expectString,    permissions: import_smithy_client._json,    resourceArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateQAppPermissionsCommand");var de_UpdateQAppSessionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    sessionArn: import_smithy_client.expectString,    sessionId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateQAppSessionCommand");var de_UpdateQAppSessionMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    sessionArn: import_smithy_client.expectString,    sessionId: import_smithy_client.expectString,    sessionName: import_smithy_client.expectString,    sharingConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_UpdateQAppSessionMetadataCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {  const parsedOutput = {    ...output,    body: await (0, import_core2.parseJsonErrorBody)(output.body, context)  };  const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);  switch (errorCode) {    case "AccessDeniedException":    case "com.amazonaws.qapps#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.qapps#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.qapps#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.qapps#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.qapps#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.qapps#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "UnauthorizedException":    case "com.amazonaws.qapps#UnauthorizedException":      throw await de_UnauthorizedExceptionRes(parsedOutput, context);    case "ValidationException":    case "com.amazonaws.qapps#ValidationException":      throw await de_ValidationExceptionRes(parsedOutput, context);    case "ContentTooLargeException":    case "com.amazonaws.qapps#ContentTooLargeException":      throw await de_ContentTooLargeExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(QAppsServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    resourceId: import_smithy_client.expectString,    resourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_ContentTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    resourceId: import_smithy_client.expectString,    resourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ContentTooLargeException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ContentTooLargeExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({    [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]  });  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalServerException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    resourceId: import_smithy_client.expectString,    resourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    quotaCode: import_smithy_client.expectString,    resourceId: import_smithy_client.expectString,    resourceType: import_smithy_client.expectString,    serviceCode: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ServiceQuotaExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({    [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]  });  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString,    quotaCode: import_smithy_client.expectString,    serviceCode: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new UnauthorizedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UnauthorizedExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ValidationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var se_AppDefinitionInput = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    cards: /* @__PURE__ */ __name((_) => se_CardList(_, context), "cards"),    initialPrompt: []  });}, "se_AppDefinitionInput");var se_AttributeFilter = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    andAllFilters: /* @__PURE__ */ __name((_) => se_AttributeFilters(_, context), "andAllFilters"),    containsAll: /* @__PURE__ */ __name((_) => se_DocumentAttribute(_, context), "containsAll"),    containsAny: /* @__PURE__ */ __name((_) => se_DocumentAttribute(_, context), "containsAny"),    equalsTo: /* @__PURE__ */ __name((_) => se_DocumentAttribute(_, context), "equalsTo"),    greaterThan: /* @__PURE__ */ __name((_) => se_DocumentAttribute(_, context), "greaterThan"),    greaterThanOrEquals: /* @__PURE__ */ __name((_) => se_DocumentAttribute(_, context), "greaterThanOrEquals"),    lessThan: /* @__PURE__ */ __name((_) => se_DocumentAttribute(_, context), "lessThan"),    lessThanOrEquals: /* @__PURE__ */ __name((_) => se_DocumentAttribute(_, context), "lessThanOrEquals"),    notFilter: /* @__PURE__ */ __name((_) => se_AttributeFilter(_, context), "notFilter"),    orAllFilters: /* @__PURE__ */ __name((_) => se_AttributeFilters(_, context), "orAllFilters")  });}, "se_AttributeFilter");var se_AttributeFilters = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_AttributeFilter(entry, context);  });}, "se_AttributeFilters");var se_CardInput = /* @__PURE__ */ __name((input, context) => {  return CardInput.visit(input, {    fileUpload: /* @__PURE__ */ __name((value) => ({ fileUpload: (0, import_smithy_client._json)(value) }), "fileUpload"),    formInput: /* @__PURE__ */ __name((value) => ({ formInput: se_FormInputCardInput(value, context) }), "formInput"),    qPlugin: /* @__PURE__ */ __name((value) => ({ qPlugin: (0, import_smithy_client._json)(value) }), "qPlugin"),    qQuery: /* @__PURE__ */ __name((value) => ({ qQuery: se_QQueryCardInput(value, context) }), "qQuery"),    textInput: /* @__PURE__ */ __name((value) => ({ textInput: (0, import_smithy_client._json)(value) }), "textInput"),    _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")  });}, "se_CardInput");var se_CardList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_CardInput(entry, context);  });}, "se_CardList");var se_DocumentAttribute = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    name: [],    value: /* @__PURE__ */ __name((_) => se_DocumentAttributeValue(_, context), "value")  });}, "se_DocumentAttribute");var se_DocumentAttributeValue = /* @__PURE__ */ __name((input, context) => {  return DocumentAttributeValue.visit(input, {    dateValue: /* @__PURE__ */ __name((value) => ({ dateValue: value.getTime() / 1e3 }), "dateValue"),    longValue: /* @__PURE__ */ __name((value) => ({ longValue: value }), "longValue"),    stringListValue: /* @__PURE__ */ __name((value) => ({ stringListValue: (0, import_smithy_client._json)(value) }), "stringListValue"),    stringValue: /* @__PURE__ */ __name((value) => ({ stringValue: value }), "stringValue"),    _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")  });}, "se_DocumentAttributeValue");var se_FormInputCardInput = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    computeMode: [],    id: [],    metadata: /* @__PURE__ */ __name((_) => se_FormInputCardMetadata(_, context), "metadata"),    title: [],    type: []  });}, "se_FormInputCardInput");var se_FormInputCardMetadata = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    schema: /* @__PURE__ */ __name((_) => se_FormInputCardMetadataSchema(_, context), "schema")  });}, "se_FormInputCardMetadata");var se_FormInputCardMetadataSchema = /* @__PURE__ */ __name((input, context) => {  return input;}, "se_FormInputCardMetadataSchema");var se_QQueryCardInput = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    attributeFilter: /* @__PURE__ */ __name((_) => se_AttributeFilter(_, context), "attributeFilter"),    id: [],    outputSource: [],    prompt: [],    title: [],    type: []  });}, "se_QQueryCardInput");var de_AppDefinition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appDefinitionVersion: import_smithy_client.expectString,    canEdit: import_smithy_client.expectBoolean,    cards: /* @__PURE__ */ __name((_) => de_CardModelList(_, context), "cards")  });}, "de_AppDefinition");var de_AppDefinitionInput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    cards: /* @__PURE__ */ __name((_) => de_CardList(_, context), "cards"),    initialPrompt: import_smithy_client.expectString  });}, "de_AppDefinitionInput");var de_AttributeFilter = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    andAllFilters: /* @__PURE__ */ __name((_) => de_AttributeFilters(_, context), "andAllFilters"),    containsAll: /* @__PURE__ */ __name((_) => de_DocumentAttribute(_, context), "containsAll"),    containsAny: /* @__PURE__ */ __name((_) => de_DocumentAttribute(_, context), "containsAny"),    equalsTo: /* @__PURE__ */ __name((_) => de_DocumentAttribute(_, context), "equalsTo"),    greaterThan: /* @__PURE__ */ __name((_) => de_DocumentAttribute(_, context), "greaterThan"),    greaterThanOrEquals: /* @__PURE__ */ __name((_) => de_DocumentAttribute(_, context), "greaterThanOrEquals"),    lessThan: /* @__PURE__ */ __name((_) => de_DocumentAttribute(_, context), "lessThan"),    lessThanOrEquals: /* @__PURE__ */ __name((_) => de_DocumentAttribute(_, context), "lessThanOrEquals"),    notFilter: /* @__PURE__ */ __name((_) => de_AttributeFilter(_, context), "notFilter"),    orAllFilters: /* @__PURE__ */ __name((_) => de_AttributeFilters(_, context), "orAllFilters")  });}, "de_AttributeFilter");var de_AttributeFilters = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_AttributeFilter(entry, context);  });  return retVal;}, "de_AttributeFilters");var de_Card = /* @__PURE__ */ __name((output, context) => {  if (output.fileUpload != null) {    return {      fileUpload: (0, import_smithy_client._json)(output.fileUpload)    };  }  if (output.formInput != null) {    return {      formInput: de_FormInputCard(output.formInput, context)    };  }  if (output.qPlugin != null) {    return {      qPlugin: (0, import_smithy_client._json)(output.qPlugin)    };  }  if (output.qQuery != null) {    return {      qQuery: de_QQueryCard(output.qQuery, context)    };  }  if (output.textInput != null) {    return {      textInput: (0, import_smithy_client._json)(output.textInput)    };  }  return { $unknown: Object.entries(output)[0] };}, "de_Card");var de_CardInput = /* @__PURE__ */ __name((output, context) => {  if (output.fileUpload != null) {    return {      fileUpload: (0, import_smithy_client._json)(output.fileUpload)    };  }  if (output.formInput != null) {    return {      formInput: de_FormInputCardInput(output.formInput, context)    };  }  if (output.qPlugin != null) {    return {      qPlugin: (0, import_smithy_client._json)(output.qPlugin)    };  }  if (output.qQuery != null) {    return {      qQuery: de_QQueryCardInput(output.qQuery, context)    };  }  if (output.textInput != null) {    return {      textInput: (0, import_smithy_client._json)(output.textInput)    };  }  return { $unknown: Object.entries(output)[0] };}, "de_CardInput");var de_CardList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_CardInput((0, import_core2.awsExpectUnion)(entry), context);  });  return retVal;}, "de_CardList");var de_CardModelList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Card((0, import_core2.awsExpectUnion)(entry), context);  });  return retVal;}, "de_CardModelList");var de_CardStatus = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    currentState: import_smithy_client.expectString,    currentValue: import_smithy_client.expectString,    submissions: /* @__PURE__ */ __name((_) => de_SubmissionList(_, context), "submissions")  });}, "de_CardStatus");var de_CardStatusMap = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_CardStatus(value, context);    return acc;  }, {});}, "de_CardStatusMap");var de_DocumentAttribute = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    name: import_smithy_client.expectString,    value: /* @__PURE__ */ __name((_) => de_DocumentAttributeValue((0, import_core2.awsExpectUnion)(_), context), "value")  });}, "de_DocumentAttribute");var de_DocumentAttributeValue = /* @__PURE__ */ __name((output, context) => {  if (output.dateValue != null) {    return {      dateValue: (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(output.dateValue)))    };  }  if ((0, import_smithy_client.expectLong)(output.longValue) !== void 0) {    return { longValue: (0, import_smithy_client.expectLong)(output.longValue) };  }  if (output.stringListValue != null) {    return {      stringListValue: (0, import_smithy_client._json)(output.stringListValue)    };  }  if ((0, import_smithy_client.expectString)(output.stringValue) !== void 0) {    return { stringValue: (0, import_smithy_client.expectString)(output.stringValue) };  }  return { $unknown: Object.entries(output)[0] };}, "de_DocumentAttributeValue");var de_FormInputCard = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    computeMode: import_smithy_client.expectString,    dependencies: import_smithy_client._json,    id: import_smithy_client.expectString,    metadata: /* @__PURE__ */ __name((_) => de_FormInputCardMetadata(_, context), "metadata"),    title: import_smithy_client.expectString,    type: import_smithy_client.expectString  });}, "de_FormInputCard");var de_FormInputCardInput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    computeMode: import_smithy_client.expectString,    id: import_smithy_client.expectString,    metadata: /* @__PURE__ */ __name((_) => de_FormInputCardMetadata(_, context), "metadata"),    title: import_smithy_client.expectString,    type: import_smithy_client.expectString  });}, "de_FormInputCardInput");var de_FormInputCardMetadata = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    schema: /* @__PURE__ */ __name((_) => de_FormInputCardMetadataSchema(_, context), "schema")  });}, "de_FormInputCardMetadata");var de_FormInputCardMetadataSchema = /* @__PURE__ */ __name((output, context) => {  return output;}, "de_FormInputCardMetadataSchema");var de_LibraryItemList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_LibraryItemMember(entry, context);  });  return retVal;}, "de_LibraryItemList");var de_LibraryItemMember = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appId: import_smithy_client.expectString,    appVersion: import_smithy_client.expectInt32,    categories: import_smithy_client._json,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    createdBy: import_smithy_client.expectString,    isRatedByUser: import_smithy_client.expectBoolean,    isVerified: import_smithy_client.expectBoolean,    libraryItemId: import_smithy_client.expectString,    ratingCount: import_smithy_client.expectInt32,    status: import_smithy_client.expectString,    updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),    updatedBy: import_smithy_client.expectString,    userCount: import_smithy_client.expectInt32  });}, "de_LibraryItemMember");var de_PredictAppDefinition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appDefinition: /* @__PURE__ */ __name((_) => de_AppDefinitionInput(_, context), "appDefinition"),    description: import_smithy_client.expectString,    title: import_smithy_client.expectString  });}, "de_PredictAppDefinition");var de_QAppSessionData = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    cardId: import_smithy_client.expectString,    submissionId: import_smithy_client.expectString,    timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp"),    user: import_smithy_client._json,    value: /* @__PURE__ */ __name((_) => de_Document(_, context), "value")  });}, "de_QAppSessionData");var de_QAppSessionDataList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_QAppSessionData(entry, context);  });  return retVal;}, "de_QAppSessionDataList");var de_QQueryCard = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    attributeFilter: /* @__PURE__ */ __name((_) => de_AttributeFilter(_, context), "attributeFilter"),    dependencies: import_smithy_client._json,    id: import_smithy_client.expectString,    memoryReferences: import_smithy_client._json,    outputSource: import_smithy_client.expectString,    prompt: import_smithy_client.expectString,    title: import_smithy_client.expectString,    type: import_smithy_client.expectString  });}, "de_QQueryCard");var de_QQueryCardInput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    attributeFilter: /* @__PURE__ */ __name((_) => de_AttributeFilter(_, context), "attributeFilter"),    id: import_smithy_client.expectString,    outputSource: import_smithy_client.expectString,    prompt: import_smithy_client.expectString,    title: import_smithy_client.expectString,    type: import_smithy_client.expectString  });}, "de_QQueryCardInput");var de_Submission = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    submissionId: import_smithy_client.expectString,    timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp"),    value: /* @__PURE__ */ __name((_) => de_Document(_, context), "value")  });}, "de_Submission");var de_SubmissionList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Submission(entry, context);  });  return retVal;}, "de_SubmissionList");var de_UserAppItem = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appArn: import_smithy_client.expectString,    appId: import_smithy_client.expectString,    canEdit: import_smithy_client.expectBoolean,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    description: import_smithy_client.expectString,    isVerified: import_smithy_client.expectBoolean,    status: import_smithy_client.expectString,    title: import_smithy_client.expectString  });}, "de_UserAppItem");var de_UserAppsList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_UserAppItem(entry, context);  });  return retVal;}, "de_UserAppsList");var de_Document = /* @__PURE__ */ __name((output, context) => {  return output;}, "de_Document");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({  httpStatusCode: output.statusCode,  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],  extendedRequestId: output.headers["x-amz-id-2"],  cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _aI = "appId";var _aV = "appVersion";var _cI = "categoryId";var _iI = "instanceId";var _ii = "instance-id";var _l = "limit";var _lII = "libraryItemId";var _nT = "nextToken";var _rAS = "retryAfterSeconds";var _ra = "retry-after";var _sI = "sessionId";var _tK = "tagKeys"; // src/commands/AssociateLibraryItemReviewCommand.tsvar AssociateLibraryItemReviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "AssociateLibraryItemReview", {}).n("QAppsClient", "AssociateLibraryItemReviewCommand").f(void 0, void 0).ser(se_AssociateLibraryItemReviewCommand).de(de_AssociateLibraryItemReviewCommand).build() {  static {    __name(this, "AssociateLibraryItemReviewCommand");  }}; // src/commands/AssociateQAppWithUserCommand.ts   var AssociateQAppWithUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "AssociateQAppWithUser", {}).n("QAppsClient", "AssociateQAppWithUserCommand").f(void 0, void 0).ser(se_AssociateQAppWithUserCommand).de(de_AssociateQAppWithUserCommand).build() {  static {    __name(this, "AssociateQAppWithUserCommand");  }}; // src/commands/BatchCreateCategoryCommand.ts   var BatchCreateCategoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "BatchCreateCategory", {}).n("QAppsClient", "BatchCreateCategoryCommand").f(void 0, void 0).ser(se_BatchCreateCategoryCommand).de(de_BatchCreateCategoryCommand).build() {  static {    __name(this, "BatchCreateCategoryCommand");  }}; // src/commands/BatchDeleteCategoryCommand.ts   var BatchDeleteCategoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "BatchDeleteCategory", {}).n("QAppsClient", "BatchDeleteCategoryCommand").f(void 0, void 0).ser(se_BatchDeleteCategoryCommand).de(de_BatchDeleteCategoryCommand).build() {  static {    __name(this, "BatchDeleteCategoryCommand");  }}; // src/commands/BatchUpdateCategoryCommand.ts   var BatchUpdateCategoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "BatchUpdateCategory", {}).n("QAppsClient", "BatchUpdateCategoryCommand").f(void 0, void 0).ser(se_BatchUpdateCategoryCommand).de(de_BatchUpdateCategoryCommand).build() {  static {    __name(this, "BatchUpdateCategoryCommand");  }}; // src/commands/CreateLibraryItemCommand.ts   var CreateLibraryItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "CreateLibraryItem", {}).n("QAppsClient", "CreateLibraryItemCommand").f(void 0, void 0).ser(se_CreateLibraryItemCommand).de(de_CreateLibraryItemCommand).build() {  static {    __name(this, "CreateLibraryItemCommand");  }}; // src/commands/CreatePresignedUrlCommand.ts   var CreatePresignedUrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "CreatePresignedUrl", {}).n("QAppsClient", "CreatePresignedUrlCommand").f(void 0, void 0).ser(se_CreatePresignedUrlCommand).de(de_CreatePresignedUrlCommand).build() {  static {    __name(this, "CreatePresignedUrlCommand");  }}; // src/commands/CreateQAppCommand.ts   var CreateQAppCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "CreateQApp", {}).n("QAppsClient", "CreateQAppCommand").f(void 0, void 0).ser(se_CreateQAppCommand).de(de_CreateQAppCommand).build() {  static {    __name(this, "CreateQAppCommand");  }}; // src/commands/DeleteLibraryItemCommand.ts   var DeleteLibraryItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "DeleteLibraryItem", {}).n("QAppsClient", "DeleteLibraryItemCommand").f(void 0, void 0).ser(se_DeleteLibraryItemCommand).de(de_DeleteLibraryItemCommand).build() {  static {    __name(this, "DeleteLibraryItemCommand");  }}; // src/commands/DeleteQAppCommand.ts   var DeleteQAppCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "DeleteQApp", {}).n("QAppsClient", "DeleteQAppCommand").f(void 0, void 0).ser(se_DeleteQAppCommand).de(de_DeleteQAppCommand).build() {  static {    __name(this, "DeleteQAppCommand");  }}; // src/commands/DescribeQAppPermissionsCommand.ts   var DescribeQAppPermissionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "DescribeQAppPermissions", {}).n("QAppsClient", "DescribeQAppPermissionsCommand").f(void 0, void 0).ser(se_DescribeQAppPermissionsCommand).de(de_DescribeQAppPermissionsCommand).build() {  static {    __name(this, "DescribeQAppPermissionsCommand");  }}; // src/commands/DisassociateLibraryItemReviewCommand.ts   var DisassociateLibraryItemReviewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "DisassociateLibraryItemReview", {}).n("QAppsClient", "DisassociateLibraryItemReviewCommand").f(void 0, void 0).ser(se_DisassociateLibraryItemReviewCommand).de(de_DisassociateLibraryItemReviewCommand).build() {  static {    __name(this, "DisassociateLibraryItemReviewCommand");  }}; // src/commands/DisassociateQAppFromUserCommand.ts   var DisassociateQAppFromUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "DisassociateQAppFromUser", {}).n("QAppsClient", "DisassociateQAppFromUserCommand").f(void 0, void 0).ser(se_DisassociateQAppFromUserCommand).de(de_DisassociateQAppFromUserCommand).build() {  static {    __name(this, "DisassociateQAppFromUserCommand");  }}; // src/commands/ExportQAppSessionDataCommand.ts   var ExportQAppSessionDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "ExportQAppSessionData", {}).n("QAppsClient", "ExportQAppSessionDataCommand").f(void 0, void 0).ser(se_ExportQAppSessionDataCommand).de(de_ExportQAppSessionDataCommand).build() {  static {    __name(this, "ExportQAppSessionDataCommand");  }}; // src/commands/GetLibraryItemCommand.ts   var GetLibraryItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "GetLibraryItem", {}).n("QAppsClient", "GetLibraryItemCommand").f(void 0, void 0).ser(se_GetLibraryItemCommand).de(de_GetLibraryItemCommand).build() {  static {    __name(this, "GetLibraryItemCommand");  }}; // src/commands/GetQAppCommand.ts   var GetQAppCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "GetQApp", {}).n("QAppsClient", "GetQAppCommand").f(void 0, void 0).ser(se_GetQAppCommand).de(de_GetQAppCommand).build() {  static {    __name(this, "GetQAppCommand");  }}; // src/commands/GetQAppSessionCommand.ts   var GetQAppSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "GetQAppSession", {}).n("QAppsClient", "GetQAppSessionCommand").f(void 0, void 0).ser(se_GetQAppSessionCommand).de(de_GetQAppSessionCommand).build() {  static {    __name(this, "GetQAppSessionCommand");  }}; // src/commands/GetQAppSessionMetadataCommand.ts   var GetQAppSessionMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "GetQAppSessionMetadata", {}).n("QAppsClient", "GetQAppSessionMetadataCommand").f(void 0, void 0).ser(se_GetQAppSessionMetadataCommand).de(de_GetQAppSessionMetadataCommand).build() {  static {    __name(this, "GetQAppSessionMetadataCommand");  }}; // src/commands/ImportDocumentCommand.ts   var ImportDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "ImportDocument", {}).n("QAppsClient", "ImportDocumentCommand").f(void 0, void 0).ser(se_ImportDocumentCommand).de(de_ImportDocumentCommand).build() {  static {    __name(this, "ImportDocumentCommand");  }}; // src/commands/ListCategoriesCommand.ts   var ListCategoriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "ListCategories", {}).n("QAppsClient", "ListCategoriesCommand").f(void 0, void 0).ser(se_ListCategoriesCommand).de(de_ListCategoriesCommand).build() {  static {    __name(this, "ListCategoriesCommand");  }}; // src/commands/ListLibraryItemsCommand.ts   var ListLibraryItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "ListLibraryItems", {}).n("QAppsClient", "ListLibraryItemsCommand").f(void 0, void 0).ser(se_ListLibraryItemsCommand).de(de_ListLibraryItemsCommand).build() {  static {    __name(this, "ListLibraryItemsCommand");  }}; // src/commands/ListQAppsCommand.ts   var ListQAppsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "ListQApps", {}).n("QAppsClient", "ListQAppsCommand").f(void 0, void 0).ser(se_ListQAppsCommand).de(de_ListQAppsCommand).build() {  static {    __name(this, "ListQAppsCommand");  }}; // src/commands/ListQAppSessionDataCommand.ts   var ListQAppSessionDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "ListQAppSessionData", {}).n("QAppsClient", "ListQAppSessionDataCommand").f(void 0, void 0).ser(se_ListQAppSessionDataCommand).de(de_ListQAppSessionDataCommand).build() {  static {    __name(this, "ListQAppSessionDataCommand");  }}; // src/commands/ListTagsForResourceCommand.ts   var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "ListTagsForResource", {}).n("QAppsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/PredictQAppCommand.ts   var PredictQAppCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "PredictQApp", {}).n("QAppsClient", "PredictQAppCommand").f(void 0, void 0).ser(se_PredictQAppCommand).de(de_PredictQAppCommand).build() {  static {    __name(this, "PredictQAppCommand");  }}; // src/commands/StartQAppSessionCommand.ts   var StartQAppSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "StartQAppSession", {}).n("QAppsClient", "StartQAppSessionCommand").f(void 0, void 0).ser(se_StartQAppSessionCommand).de(de_StartQAppSessionCommand).build() {  static {    __name(this, "StartQAppSessionCommand");  }}; // src/commands/StopQAppSessionCommand.ts   var StopQAppSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "StopQAppSession", {}).n("QAppsClient", "StopQAppSessionCommand").f(void 0, void 0).ser(se_StopQAppSessionCommand).de(de_StopQAppSessionCommand).build() {  static {    __name(this, "StopQAppSessionCommand");  }}; // src/commands/TagResourceCommand.ts   var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "TagResource", {}).n("QAppsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {  static {    __name(this, "TagResourceCommand");  }}; // src/commands/UntagResourceCommand.ts   var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "UntagResource", {}).n("QAppsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateLibraryItemCommand.ts   var UpdateLibraryItemCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "UpdateLibraryItem", {}).n("QAppsClient", "UpdateLibraryItemCommand").f(void 0, void 0).ser(se_UpdateLibraryItemCommand).de(de_UpdateLibraryItemCommand).build() {  static {    __name(this, "UpdateLibraryItemCommand");  }}; // src/commands/UpdateLibraryItemMetadataCommand.ts   var UpdateLibraryItemMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "UpdateLibraryItemMetadata", {}).n("QAppsClient", "UpdateLibraryItemMetadataCommand").f(void 0, void 0).ser(se_UpdateLibraryItemMetadataCommand).de(de_UpdateLibraryItemMetadataCommand).build() {  static {    __name(this, "UpdateLibraryItemMetadataCommand");  }}; // src/commands/UpdateQAppCommand.ts   var UpdateQAppCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "UpdateQApp", {}).n("QAppsClient", "UpdateQAppCommand").f(void 0, void 0).ser(se_UpdateQAppCommand).de(de_UpdateQAppCommand).build() {  static {    __name(this, "UpdateQAppCommand");  }}; // src/commands/UpdateQAppPermissionsCommand.ts   var UpdateQAppPermissionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "UpdateQAppPermissions", {}).n("QAppsClient", "UpdateQAppPermissionsCommand").f(void 0, void 0).ser(se_UpdateQAppPermissionsCommand).de(de_UpdateQAppPermissionsCommand).build() {  static {    __name(this, "UpdateQAppPermissionsCommand");  }}; // src/commands/UpdateQAppSessionCommand.ts   var UpdateQAppSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "UpdateQAppSession", {}).n("QAppsClient", "UpdateQAppSessionCommand").f(void 0, void 0).ser(se_UpdateQAppSessionCommand).de(de_UpdateQAppSessionCommand).build() {  static {    __name(this, "UpdateQAppSessionCommand");  }}; // src/commands/UpdateQAppSessionMetadataCommand.ts   var UpdateQAppSessionMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("QAppsService", "UpdateQAppSessionMetadata", {}).n("QAppsClient", "UpdateQAppSessionMetadataCommand").f(void 0, void 0).ser(se_UpdateQAppSessionMetadataCommand).de(de_UpdateQAppSessionMetadataCommand).build() {  static {    __name(this, "UpdateQAppSessionMetadataCommand");  }}; // src/QApps.tsvar commands = {  AssociateLibraryItemReviewCommand,  AssociateQAppWithUserCommand,  BatchCreateCategoryCommand,  BatchDeleteCategoryCommand,  BatchUpdateCategoryCommand,  CreateLibraryItemCommand,  CreatePresignedUrlCommand,  CreateQAppCommand,  DeleteLibraryItemCommand,  DeleteQAppCommand,  DescribeQAppPermissionsCommand,  DisassociateLibraryItemReviewCommand,  DisassociateQAppFromUserCommand,  ExportQAppSessionDataCommand,  GetLibraryItemCommand,  GetQAppCommand,  GetQAppSessionCommand,  GetQAppSessionMetadataCommand,  ImportDocumentCommand,  ListCategoriesCommand,  ListLibraryItemsCommand,  ListQAppsCommand,  ListQAppSessionDataCommand,  ListTagsForResourceCommand,  PredictQAppCommand,  StartQAppSessionCommand,  StopQAppSessionCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateLibraryItemCommand,  UpdateLibraryItemMetadataCommand,  UpdateQAppCommand,  UpdateQAppPermissionsCommand,  UpdateQAppSessionCommand,  UpdateQAppSessionMetadataCommand};var QApps = class extends QAppsClient {  static {    __name(this, "QApps");  }};(0, import_smithy_client.createAggregatedClient)(commands, QApps); // src/pagination/ListLibraryItemsPaginator.ts var paginateListLibraryItems = (0, import_core.createPaginator)(QAppsClient, ListLibraryItemsCommand, "nextToken", "nextToken", "limit"); // src/pagination/ListQAppsPaginator.ts var paginateListQApps = (0, import_core.createPaginator)(QAppsClient, ListQAppsCommand, "nextToken", "nextToken", "limit");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  QAppsServiceException,  __Client,  QAppsClient,  QApps,  $Command,  AssociateLibraryItemReviewCommand,  AssociateQAppWithUserCommand,  BatchCreateCategoryCommand,  BatchDeleteCategoryCommand,  BatchUpdateCategoryCommand,  CreateLibraryItemCommand,  CreatePresignedUrlCommand,  CreateQAppCommand,  DeleteLibraryItemCommand,  DeleteQAppCommand,  DescribeQAppPermissionsCommand,  DisassociateLibraryItemReviewCommand,  DisassociateQAppFromUserCommand,  ExportQAppSessionDataCommand,  GetLibraryItemCommand,  GetQAppCommand,  GetQAppSessionCommand,  GetQAppSessionMetadataCommand,  ImportDocumentCommand,  ListCategoriesCommand,  ListLibraryItemsCommand,  ListQAppSessionDataCommand,  ListQAppsCommand,  ListTagsForResourceCommand,  PredictQAppCommand,  StartQAppSessionCommand,  StopQAppSessionCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateLibraryItemCommand,  UpdateLibraryItemMetadataCommand,  UpdateQAppCommand,  UpdateQAppPermissionsCommand,  UpdateQAppSessionCommand,  UpdateQAppSessionMetadataCommand,  paginateListLibraryItems,  paginateListQApps,  AccessDeniedException,  Action,  CardType,  InputCardComputeMode,  PluginType,  DocumentAttributeValue,  CardOutputSource,  AppRequiredCapability,  AppStatus,  ConflictException,  InternalServerException,  ResourceNotFoundException,  ServiceQuotaExceededException,  ThrottlingException,  UnauthorizedException,  ValidationException,  ExecutionStatus,  SubmissionMutationKind,  ContentTooLargeException,  Sender,  DocumentScope,  UserType,  LibraryItemStatus,  PredictQAppInputOptions,  Card,  CardInput});