/var/runtime/node_modules/@aws-sdk/client-connectcases/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 /.
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultConnectCasesHttpAuthSchemeParametersProvider = async (config, context, input) => { return { operation: getSmithyContext(context).operation, region: await normalizeProvider(config.region)() || (() => { throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); })(), };};function createAwsAuthSigv4HttpAuthOption(authParameters) { return { schemeId: "aws.auth#sigv4", signingProperties: { name: "cases", region: authParameters.region, }, propertiesExtractor: (config, context) => ({ signingProperties: { config, context, }, }), };}const defaultConnectCasesHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { default: { options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); } } return options;};const resolveHttpAuthSchemeConfig = (config) => { const config_0 = resolveAwsSdkSigV4Config(config); return Object.assign(config_0, { authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), });}; const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "cases", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; var version = "3.1104.0";var packageInfo = { version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = { conditions: [ [c, [g]], [c, j], ["aws.partition", j, d], [e, [{ [k]: "UseFIPS" }, b]], [e, [{ [k]: "UseDualStack" }, b]], [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]], [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]] ], results: [ [a], [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], [g, i], ["https://cases-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], ["https://cases-fips.{Region}.{PartitionResult#dnsSuffix}", i], [a, "FIPS is enabled but this partition does not support FIPS"], ["https://cases.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "DualStack is enabled but this partition does not support DualStack"], ["https://cases.{Region}.{PartitionResult#dnsSuffix}", i], [a, "Invalid Configuration: Missing Region"] ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([ -1, 1, -1, 0, 12, 3, 1, 4, r + 11, 2, 5, r + 11, 3, 8, 6, 4, 7, r + 10, 5, r + 8, r + 9, 4, 10, 9, 6, r + 6, r + 7, 5, 11, r + 5, 6, r + 4, r + 5, 3, r + 1, 13, 4, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({ size: 50, params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => { return cache.get(endpointParams, () => decideEndpoint(bdd, { endpointParams: endpointParams, logger: context.logger, }));};customEndpointFunctions.aws = awsEndpointFunctions; class ConnectCasesServiceException extends ServiceException { constructor(options) { super(options); Object.setPrototypeOf(this, ConnectCasesServiceException.prototype); }} class AccessDeniedException extends ConnectCasesServiceException { name = "AccessDeniedException"; $fault = "client"; constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, AccessDeniedException.prototype); }}class ConflictException extends ConnectCasesServiceException { name = "ConflictException"; $fault = "client"; constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ConflictException.prototype); }}class InternalServerException extends ConnectCasesServiceException { name = "InternalServerException"; $fault = "server"; $retryable = {}; retryAfterSeconds; constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InternalServerException.prototype); this.retryAfterSeconds = opts.retryAfterSeconds; }}class ResourceNotFoundException extends ConnectCasesServiceException { name = "ResourceNotFoundException"; $fault = "client"; resourceId; resourceType; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceNotFoundException.prototype); this.resourceId = opts.resourceId; this.resourceType = opts.resourceType; }}class ThrottlingException extends ConnectCasesServiceException { name = "ThrottlingException"; $fault = "client"; $retryable = {}; constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ThrottlingException.prototype); }}class ValidationException extends ConnectCasesServiceException { name = "ValidationException"; $fault = "client"; constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ValidationException.prototype); }}class ServiceQuotaExceededException extends ConnectCasesServiceException { name = "ServiceQuotaExceededException"; $fault = "client"; constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype); }} const _ADE = "AccessDeniedException";const _AE = "AuditEvent";const _AEF = "AuditEventField";const _AEFL = "AuditEventFieldList";const _AEFVU = "AuditEventFieldValueUnion";const _AEL = "AuditEventsList";const _AEPB = "AuditEventPerformedBy";const _BC = "BooleanCondition";const _BCL = "BooleanConditionList";const _BGCR = "BatchGetCaseRule";const _BGCREL = "BatchGetCaseRuleErrorList";const _BGCRL = "BatchGetCaseRuleList";const _BGCRR = "BatchGetCaseRuleRequest";const _BGCRRa = "BatchGetCaseRuleResponse";const _BGF = "BatchGetField";const _BGFEL = "BatchGetFieldErrorList";const _BGFIL = "BatchGetFieldIdentifierList";const _BGFL = "BatchGetFieldList";const _BGFR = "BatchGetFieldRequest";const _BGFRa = "BatchGetFieldResponse";const _BL = "BasicLayout";const _BO = "BooleanOperands";const _BPFO = "BatchPutFieldOptions";const _BPFOR = "BatchPutFieldOptionsRequest";const _BPFORa = "BatchPutFieldOptionsResponse";const _C = "Contact";const _CC = "CommentContent";const _CCC = "ConnectCaseContent";const _CCF = "ConnectCaseFilter";const _CCIC = "ConnectCaseInputContent";const _CCR = "CreateCaseRequest";const _CCRR = "CreateCaseRuleRequest";const _CCRRr = "CreateCaseRuleResponse";const _CCRr = "CreateCaseResponse";const _CCRre = "CreateCaseRule";const _CCo = "CompoundCondition";const _CCon = "ContactContent";const _CCr = "CreateCase";const _CCu = "CustomContent";const _CD = "CreateDomain";const _CDR = "CreateDomainRequest";const _CDRr = "CreateDomainResponse";const _CE = "ConflictException";const _CEID = "CaseEventIncludedData";const _CEu = "CustomEntity";const _CF = "CommentFilter";const _CFF = "CustomFieldsFilter";const _CFFL = "CustomFieldsFilterList";const _CFL = "CaseFilterList";const _CFR = "CreateFieldRequest";const _CFRr = "CreateFieldResponse";const _CFa = "CaseFilter";const _CFo = "ContactFilter";const _CFr = "CreateField";const _CFu = "CustomFilter";const _CIC = "CustomInputContent";const _CL = "CreateLayout";const _CLR = "CreateLayoutRequest";const _CLRr = "CreateLayoutResponse";const _CRD = "CaseRuleDetails";const _CRE = "CaseRuleError";const _CRI = "CaseRuleIdentifier";const _CRIL = "CaseRuleIdentifierList";const _CRIR = "CreateRelatedItemRequest";const _CRIRr = "CreateRelatedItemResponse";const _CRIr = "CreateRelatedItem";const _CRS = "CaseRuleSummary";const _CRSL = "CaseRuleSummaryList";const _CS = "CaseSummary";const _CSL = "CaseSummaryList";const _CT = "CreateTemplate";const _CTR = "CreateTemplateRequest";const _CTRr = "CreateTemplateResponse";const _CUC = "CommentUpdateContent";const _CUCu = "CustomUpdateContent";const _DC = "DeleteCase";const _DCR = "DeleteCaseRequest";const _DCRR = "DeleteCaseRuleRequest";const _DCRRe = "DeleteCaseRuleResponse";const _DCRe = "DeleteCaseResponse";const _DCRel = "DeleteCaseRule";const _DD = "DeleteDomain";const _DDR = "DeleteDomainRequest";const _DDRe = "DeleteDomainResponse";const _DF = "DeleteField";const _DFR = "DeleteFieldRequest";const _DFRe = "DeleteFieldResponse";const _DL = "DeleteLayout";const _DLR = "DeleteLayoutRequest";const _DLRe = "DeleteLayoutResponse";const _DRI = "DeleteRelatedItem";const _DRIR = "DeleteRelatedItemRequest";const _DRIRe = "DeleteRelatedItemResponse";const _DS = "DomainSummary";const _DSL = "DomainSummaryList";const _DT = "DeleteTemplate";const _DTR = "DeleteTemplateRequest";const _DTRe = "DeleteTemplateResponse";const _EBC = "EventBridgeConfiguration";const _EFV = "EmptyFieldValue";const _EID = "EventIncludedData";const _EOV = "EmptyOperandValue";const _FA = "FieldAttributes";const _FC = "FileContent";const _FE = "FieldError";const _FF = "FileFilter";const _FFi = "FieldFilter";const _FG = "FieldGroup";const _FI = "FieldIdentifier";const _FIL = "FieldIdentifierList";const _FIi = "FieldItem";const _FL = "FieldList";const _FO = "FieldOption";const _FOCR = "FieldOptionsCaseRule";const _FOE = "FieldOptionError";const _FOEL = "FieldOptionErrorList";const _FOL = "FieldOptionsList";const _FS = "FieldSummary";const _FSL = "FieldSummaryList";const _FV = "FieldValue";const _FVL = "FieldValueList";const _FVU = "FieldValueUnion";const _GC = "GetCase";const _GCAE = "GetCaseAuditEvents";const _GCAER = "GetCaseAuditEventsRequest";const _GCAERe = "GetCaseAuditEventsResponse";const _GCEC = "GetCaseEventConfiguration";const _GCECR = "GetCaseEventConfigurationRequest";const _GCECRe = "GetCaseEventConfigurationResponse";const _GCR = "GetCaseRequest";const _GCRR = "GetCaseRuleResponse";const _GCRe = "GetCaseResponse";const _GD = "GetDomain";const _GDR = "GetDomainRequest";const _GDRe = "GetDomainResponse";const _GFR = "GetFieldResponse";const _GL = "GetLayout";const _GLR = "GetLayoutRequest";const _GLRe = "GetLayoutResponse";const _GT = "GetTemplate";const _GTR = "GetTemplateRequest";const _GTRe = "GetTemplateResponse";const _HCR = "HiddenCaseRule";const _ISE = "InternalServerException";const _LC = "LayoutConfiguration";const _LCFC = "ListCasesForContact";const _LCFCR = "ListCasesForContactRequest";const _LCFCRi = "ListCasesForContactResponse";const _LCR = "ListCaseRules";const _LCRR = "ListCaseRulesRequest";const _LCRRi = "ListCaseRulesResponse";const _LCa = "LayoutContent";const _LD = "ListDomains";const _LDR = "ListDomainsRequest";const _LDRi = "ListDomainsResponse";const _LF = "ListFields";const _LFO = "ListFieldOptions";const _LFOR = "ListFieldOptionsRequest";const _LFORi = "ListFieldOptionsResponse";const _LFR = "ListFieldsRequest";const _LFRi = "ListFieldsResponse";const _LL = "ListLayouts";const _LLR = "ListLayoutsRequest";const _LLRi = "ListLayoutsResponse";const _LS = "LayoutSections";const _LSL = "LayoutSummaryList";const _LSa = "LayoutSummary";const _LT = "ListTemplates";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _LTR = "ListTemplatesRequest";const _LTRi = "ListTemplatesResponse";const _OO = "OperandOne";const _OT = "OperandTwo";const _PCEC = "PutCaseEventConfiguration";const _PCECR = "PutCaseEventConfigurationRequest";const _PCECRu = "PutCaseEventConfigurationResponse";const _PCFOM = "ParentChildFieldOptionsMapping";const _PCFOML = "ParentChildFieldOptionsMappingList";const _RA = "Retry-After";const _RCR = "RequiredCaseRule";const _RF = "RequiredField";const _RFL = "RequiredFieldList";const _RIC = "RelatedItemContent";const _RIEID = "RelatedItemEventIncludedData";const _RIFL = "RelatedItemFilterList";const _RIIC = "RelatedItemInputContent";const _RITF = "RelatedItemTypeFilter";const _RIUC = "RelatedItemUpdateContent";const _RNFE = "ResourceNotFoundException";const _S = "Sort";const _SARI = "SearchAllRelatedItems";const _SARIR = "SearchAllRelatedItemsRequest";const _SARIRI = "SearchAllRelatedItemsResponseItem";const _SARIRIL = "SearchAllRelatedItemsResponseItemList";const _SARIRe = "SearchAllRelatedItemsResponse";const _SARIS = "SearchAllRelatedItemsSort";const _SARISL = "SearchAllRelatedItemsSortList";const _SC = "SlaConfiguration";const _SCR = "SearchCasesRequest";const _SCRI = "SearchCasesResponseItem";const _SCRIL = "SearchCasesResponseItemList";const _SCRe = "SearchCasesResponse";const _SCe = "SearchCases";const _SCl = "SlaContent";const _SF = "SlaFilter";const _SFVUL = "SlaFieldValueUnionList";const _SIC = "SlaInputConfiguration";const _SICl = "SlaInputContent";const _SL = "SectionsList";const _SLo = "SortList";const _SN = "SlaName";const _SQEE = "ServiceQuotaExceededException";const _SRI = "SearchRelatedItems";const _SRIR = "SearchRelatedItemsRequest";const _SRIRI = "SearchRelatedItemsResponseItem";const _SRIRIL = "SearchRelatedItemsResponseItemList";const _SRIRe = "SearchRelatedItemsResponse";const _Se = "Section";const _T = "Tags";const _TA = "TextAttributes";const _TCRL = "TemplateCaseRuleList";const _TE = "ThrottlingException";const _TF = "TagFilter";const _TPC = "TagPropagationConfiguration";const _TPCL = "TagPropagationConfigurationList";const _TR = "TemplateRule";const _TRR = "TagResourceRequest";const _TRa = "TagResource";const _TS = "TemplateSummary";const _TSL = "TemplateSummaryList";const _TV = "TagValue";const _UC = "UpdateCase";const _UCR = "UpdateCaseRequest";const _UCRR = "UpdateCaseRuleRequest";const _UCRRp = "UpdateCaseRuleResponse";const _UCRp = "UpdateCaseResponse";const _UCRpd = "UpdateCaseRule";const _UF = "UpdateField";const _UFR = "UpdateFieldRequest";const _UFRp = "UpdateFieldResponse";const _UL = "UpdateLayout";const _ULR = "UpdateLayoutRequest";const _ULRp = "UpdateLayoutResponse";const _UR = "UntagResource";const _URI = "UpdateRelatedItem";const _URIR = "UpdateRelatedItemRequest";const _URIRp = "UpdateRelatedItemResponse";const _URR = "UntagResourceRequest";const _UT = "UpdateTemplate";const _UTR = "UpdateTemplateRequest";const _UTRp = "UpdateTemplateResponse";const _UU = "UserUnion";const _VE = "ValidationException";const _a = "attributes";const _aA = "andAll";const _aE = "auditEvents";const _aT = "associationTime";const _ac = "active";const _ar = "arn";const _b = "body";const _bV = "booleanValue";const _ba = "basic";const _c = "client";const _cA = "contactArn";const _cAa = "caseArn";const _cB = "createdBy";const _cC = "connectCase";const _cD = "caseData";const _cE = "customEntity";const _cFI = "childFieldId";const _cFOV = "childFieldOptionValues";const _cI = "caseId";const _cR = "caseRules";const _cRA = "caseRuleArn";const _cRI = "caseRuleId";const _cT = "contentType";const _cTST = "connectedToSystemTime";const _cTl = "clientToken";const _cTo = "completionTime";const _cTr = "createdTime";const _ca = "cases";const _ch = "channel";const _co = "conditions";const _com = "comment";const _con = "content";const _cont = "contains";const _conta = "contact";const _cu = "custom";const _d = "description";const _dA = "domainArn";const _dI = "domainId";const _dL = "defaultLayout";const _dS = "domainStatus";const _dV = "defaultValue";const _dVo = "doubleValue";const _de = "deleted";const _do = "domains";const _e = "error";const _eB = "eventBridge";const _eC = "errorCode";const _eFI = "eventFieldId";const _eI = "eventId";const _eT = "equalTo";const _eV = "emptyValue";const _en = "enabled";const _er = "errors";const _f = "fields";const _fA = "fieldArn";const _fAi = "fileArn";const _fG = "fieldGroup";const _fI = "fieldId";const _fO = "fieldOptions";const _fi = "filters";const _fie = "field";const _fil = "filter";const _file = "file";const _gT = "greaterThan";const _gTOET = "greaterThanOrEqualTo";const _h = "hidden";const _hE = "httpError";const _hH = "httpHeader";const _hQ = "httpQuery";const _ht = "http";const _i = "id";const _iC = "includeContent";const _iD = "includedData";const _iM = "isMultiline";const _iPA = "iamPrincipalArn";const _k = "key";const _l = "layouts";const _lA = "layoutArn";const _lC = "layoutConfiguration";const _lI = "layoutId";const _lMT = "lastModifiedTime";const _lT = "lessThan";const _lTOET = "lessThanOrEqualTo";const _lUU = "lastUpdatedUser";const _m = "message";const _mI = "moreInfo";const _mR = "maxResults";const _n = "name";const _nET = "notEqualTo";const _nT = "nextToken";const _nV = "newValue";const _na = "namespace";const _no = "not";const _o = "options";const _oA = "orAll";const _oO = "operandOne";const _oT = "operandTwo";const _oV = "oldValue";const _pB = "performedBy";const _pCFOM = "parentChildFieldOptionsMappings";const _pFI = "parentFieldId";const _pFOV = "parentFieldOptionValue";const _pT = "performedTime";const _r = "result";const _rAS = "retryAfterSeconds";const _rF = "requiredFields";const _rI = "resourceId";const _rIA = "relatedItemArn";const _rID = "relatedItemData";const _rII = "relatedItemId";const _rIT = "relatedItemType";const _rIe = "relatedItems";const _rT = "resourceType";const _rTu = "ruleType";const _re = "required";const _ru = "rule";const _rul = "rules";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.connectcases";const _sC = "slaConfiguration";const _sIC = "slaInputConfiguration";const _sO = "sortOrder";const _sP = "sortProperty";const _sT = "searchTerm";const _sV = "stringValue";const _se = "server";const _sec = "sections";const _sl = "sla";const _so = "sorts";const _sp = "sparse";const _st = "status";const _t = "type";const _tA = "templateArn";const _tC = "totalCount";const _tFV = "targetFieldValues";const _tI = "templateId";const _tK = "tagKeys";const _tM = "tagMap";const _tP = "topPanel";const _tPC = "tagPropagationConfigurations";const _tSM = "targetSlaMinutes";const _tT = "targetTime";const _ta = "tags";const _tag = "tag";const _te = "templates";const _tex = "text";const _u = "user";const _uA = "userArn";const _uAV = "userArnValue";const _uCR = "unprocessedCaseRules";const _v = "value";const _va = "values";const n0 = "com.amazonaws.connectcases";const _s_registry = TypeRegistry.for(_s);var ConnectCasesServiceException$ = [-3, _s, "ConnectCasesServiceException", 0, [], []];_s_registry.registerError(ConnectCasesServiceException$, ConnectCasesServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0], 1];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0], 1];n0_registry.registerError(ConflictException$, ConflictException);var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m, _rAS], [0, [1, { [_hH]: _RA }]], 1];n0_registry.registerError(InternalServerException$, InternalServerException);var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m, _rI, _rT], [0, 0, 0], 3];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0], 1];n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0], 1];n0_registry.registerError(ThrottlingException$, ThrottlingException);var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0], 1];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [ _s_registry, n0_registry,];var CustomEntity = [0, n0, _CEu, 8, 0];var SlaName = [0, n0, _SN, 8, 0];var AuditEvent$ = [3, n0, _AE, 0, [_eI, _t, _pT, _f, _rIT, _pB], [0, 0, 5, [() => AuditEventFieldList, 0], 0, [() => AuditEventPerformedBy$, 0]], 4];var AuditEventField$ = [3, n0, _AEF, 0, [_eFI, _nV, _oV], [0, () => AuditEventFieldValueUnion$, () => AuditEventFieldValueUnion$], 2];var AuditEventPerformedBy$ = [3, n0, _AEPB, 0, [_iPA, _u], [0, [() => UserUnion$, 0]], 1];var BasicLayout$ = [3, n0, _BL, 0, [_tP, _mI], [() => LayoutSections$, () => LayoutSections$]];var BatchGetCaseRuleRequest$ = [3, n0, _BGCRR, 0, [_dI, _cR], [[0, 1], () => CaseRuleIdentifierList], 2];var BatchGetCaseRuleResponse$ = [3, n0, _BGCRRa, 0, [_cR, _er, _uCR], [[() => BatchGetCaseRuleList, 0], () => BatchGetCaseRuleErrorList, 64 | 0], 2];var BatchGetFieldRequest$ = [3, n0, _BGFR, 0, [_dI, _f], [[0, 1], () => BatchGetFieldIdentifierList], 2];var BatchGetFieldResponse$ = [3, n0, _BGFRa, 0, [_f, _er], [[() => BatchGetFieldList, 0], () => BatchGetFieldErrorList], 2];var BatchPutFieldOptionsRequest$ = [3, n0, _BPFOR, 0, [_dI, _fI, _o], [[0, 1], [0, 1], () => FieldOptionsList], 3];var BatchPutFieldOptionsResponse$ = [3, n0, _BPFORa, 0, [_er], [() => FieldOptionErrorList]];var BooleanOperands$ = [3, n0, _BO, 0, [_oO, _oT, _r], [() => OperandOne$, () => OperandTwo$, 2], 3];var CaseEventIncludedData$ = [3, n0, _CEID, 0, [_f], [() => FieldIdentifierList], 1];var CaseRuleError$ = [3, n0, _CRE, 0, [_i, _eC, _m], [0, 0, 0], 2];var CaseRuleIdentifier$ = [3, n0, _CRI, 0, [_i], [0], 1];var CaseRuleSummary$ = [3, n0, _CRS, 0, [_cRI, _n, _cRA, _rTu, _d], [0, 0, 0, 0, 0], 4];var CaseSummary$ = [3, n0, _CS, 0, [_cI, _tI], [0, 0], 2];var CommentContent$ = [3, n0, _CC, 0, [_b, _cT], [0, 0], 2];var CommentFilter$ = [3, n0, _CF, 0, [], []];var CommentUpdateContent$ = [3, n0, _CUC, 0, [_b, _cT], [0, 0], 2];var CompoundCondition$ = [3, n0, _CCo, 0, [_co], [() => BooleanConditionList], 1];var ConnectCaseContent$ = [3, n0, _CCC, 0, [_cI], [0], 1];var ConnectCaseFilter$ = [3, n0, _CCF, 0, [_cI], [0]];var ConnectCaseInputContent$ = [3, n0, _CCIC, 0, [_cI], [0], 1];var Contact$ = [3, n0, _C, 0, [_cA], [0], 1];var ContactContent$ = [3, n0, _CCon, 0, [_cA, _ch, _cTST], [0, 0, 5], 3];var ContactFilter$ = [3, n0, _CFo, 0, [_ch, _cA], [64 | 0, 0]];var CreateCaseRequest$ = [3, n0, _CCR, 0, [_dI, _tI, _f, _cTl, _pB, _ta], [[0, 1], 0, () => FieldValueList, [0, 4], [() => UserUnion$, 0], 128 | 0], 3];var CreateCaseResponse$ = [3, n0, _CCRr, 0, [_cI, _cAa], [0, 0], 2];var CreateCaseRuleRequest$ = [3, n0, _CCRR, 0, [_dI, _n, _ru, _d], [[0, 1], 0, () => CaseRuleDetails$, 0], 3];var CreateCaseRuleResponse$ = [3, n0, _CCRRr, 0, [_cRI, _cRA], [0, 0], 2];var CreateDomainRequest$ = [3, n0, _CDR, 0, [_n], [0], 1];var CreateDomainResponse$ = [3, n0, _CDRr, 0, [_dI, _dA, _dS], [0, 0, 0], 3];var CreateFieldRequest$ = [3, n0, _CFR, 0, [_dI, _n, _t, _d, _a], [[0, 1], 0, 0, 0, () => FieldAttributes$], 3];var CreateFieldResponse$ = [3, n0, _CFRr, 0, [_fI, _fA], [0, 0], 2];var CreateLayoutRequest$ = [3, n0, _CLR, 0, [_dI, _n, _con], [[0, 1], 0, () => LayoutContent$], 3];var CreateLayoutResponse$ = [3, n0, _CLRr, 0, [_lI, _lA], [0, 0], 2];var CreateRelatedItemRequest$ = [3, n0, _CRIR, 0, [_dI, _cI, _t, _con, _pB], [[0, 1], [0, 1], 0, [() => RelatedItemInputContent$, 0], [() => UserUnion$, 0]], 4];var CreateRelatedItemResponse$ = [3, n0, _CRIRr, 0, [_rII, _rIA], [0, 0], 2];var CreateTemplateRequest$ = [3, n0, _CTR, 0, [_dI, _n, _d, _lC, _rF, _st, _rul, _tPC], [[0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 2];var CreateTemplateResponse$ = [3, n0, _CTRr, 0, [_tI, _tA], [0, 0], 2];var CustomContent$ = [3, n0, _CCu, 0, [_f], [() => FieldValueList], 1];var CustomFilter$ = [3, n0, _CFu, 0, [_f], [() => CustomFieldsFilter$]];var CustomInputContent$ = [3, n0, _CIC, 0, [_f], [() => FieldValueList], 1];var CustomUpdateContent$ = [3, n0, _CUCu, 0, [_f], [() => FieldValueList], 1];var DeleteCaseRequest$ = [3, n0, _DCR, 0, [_dI, _cI], [[0, 1], [0, 1]], 2];var DeleteCaseResponse$ = [3, n0, _DCRe, 0, [], []];var DeleteCaseRuleRequest$ = [3, n0, _DCRR, 0, [_dI, _cRI], [[0, 1], [0, 1]], 2];var DeleteCaseRuleResponse$ = [3, n0, _DCRRe, 0, [], []];var DeleteDomainRequest$ = [3, n0, _DDR, 0, [_dI], [[0, 1]], 1];var DeleteDomainResponse$ = [3, n0, _DDRe, 0, [], []];var DeleteFieldRequest$ = [3, n0, _DFR, 0, [_dI, _fI], [[0, 1], [0, 1]], 2];var DeleteFieldResponse$ = [3, n0, _DFRe, 0, [], []];var DeleteLayoutRequest$ = [3, n0, _DLR, 0, [_dI, _lI], [[0, 1], [0, 1]], 2];var DeleteLayoutResponse$ = [3, n0, _DLRe, 0, [], []];var DeleteRelatedItemRequest$ = [3, n0, _DRIR, 0, [_dI, _cI, _rII], [[0, 1], [0, 1], [0, 1]], 3];var DeleteRelatedItemResponse$ = [3, n0, _DRIRe, 0, [], []];var DeleteTemplateRequest$ = [3, n0, _DTR, 0, [_dI, _tI], [[0, 1], [0, 1]], 2];var DeleteTemplateResponse$ = [3, n0, _DTRe, 0, [], []];var DomainSummary$ = [3, n0, _DS, 0, [_dI, _dA, _n], [0, 0, 0], 3];var EmptyFieldValue$ = [3, n0, _EFV, 0, [], []];var EmptyOperandValue$ = [3, n0, _EOV, 0, [], []];var EventBridgeConfiguration$ = [3, n0, _EBC, 0, [_en, _iD], [2, () => EventIncludedData$], 1];var EventIncludedData$ = [3, n0, _EID, 0, [_cD, _rID], [() => CaseEventIncludedData$, () => RelatedItemEventIncludedData$]];var FieldError$ = [3, n0, _FE, 0, [_i, _eC, _m], [0, 0, 0], 2];var FieldGroup$ = [3, n0, _FG, 0, [_f, _n], [() => FieldList, 0], 1];var FieldIdentifier$ = [3, n0, _FI, 0, [_i], [0], 1];var FieldItem$ = [3, n0, _FIi, 0, [_i], [0], 1];var FieldOption$ = [3, n0, _FO, 0, [_n, _v, _ac], [0, 0, 2], 3];var FieldOptionError$ = [3, n0, _FOE, 0, [_m, _eC, _v], [0, 0, 0], 3];var FieldOptionsCaseRule$ = [3, n0, _FOCR, 0, [_pCFOM, _pFI, _cFI], [() => ParentChildFieldOptionsMappingList, 0, 0], 1];var FieldSummary$ = [3, n0, _FS, 0, [_fI, _fA, _n, _t, _na, _a], [0, 0, 0, 0, 0, () => FieldAttributes$], 5];var FieldValue$ = [3, n0, _FV, 0, [_i, _v], [0, () => FieldValueUnion$], 2];var FileContent$ = [3, n0, _FC, 0, [_fAi], [0], 1];var FileFilter$ = [3, n0, _FF, 0, [_fAi], [0]];var GetCaseAuditEventsRequest$ = [3, n0, _GCAER, 0, [_cI, _dI, _mR, _nT], [[0, 1], [0, 1], 1, 0], 2];var GetCaseAuditEventsResponse$ = [3, n0, _GCAERe, 0, [_aE, _nT], [[() => AuditEventsList, 0], 0], 1];var GetCaseEventConfigurationRequest$ = [3, n0, _GCECR, 0, [_dI], [[0, 1]], 1];var GetCaseEventConfigurationResponse$ = [3, n0, _GCECRe, 0, [_eB], [() => EventBridgeConfiguration$], 1];var GetCaseRequest$ = [3, n0, _GCR, 0, [_cI, _dI, _f, _nT], [[0, 1], [0, 1], () => FieldIdentifierList, 0], 3];var GetCaseResponse$ = [3, n0, _GCRe, 0, [_f, _tI, _nT, _ta], [() => FieldValueList, 0, 0, [() => Tags, 0]], 2];var GetCaseRuleResponse$ = [3, n0, _GCRR, 0, [_cRI, _n, _cRA, _ru, _d, _de, _cTr, _lMT, _ta], [0, 0, 0, () => CaseRuleDetails$, 0, 2, 5, 5, [() => Tags, 0]], 4];var GetDomainRequest$ = [3, n0, _GDR, 0, [_dI], [[0, 1]], 1];var GetDomainResponse$ = [3, n0, _GDRe, 0, [_dI, _dA, _n, _cTr, _dS, _ta], [0, 0, 0, 5, 0, [() => Tags, 0]], 5];var GetFieldResponse$ = [3, n0, _GFR, 0, [_fI, _n, _fA, _t, _na, _d, _ta, _de, _cTr, _lMT, _a], [0, 0, 0, 0, 0, 0, [() => Tags, 0], 2, 5, 5, () => FieldAttributes$], 5];var GetLayoutRequest$ = [3, n0, _GLR, 0, [_dI, _lI], [[0, 1], [0, 1]], 2];var GetLayoutResponse$ = [3, n0, _GLRe, 0, [_lI, _lA, _n, _con, _ta, _de, _cTr, _lMT], [0, 0, 0, () => LayoutContent$, [() => Tags, 0], 2, 5, 5], 4];var GetTemplateRequest$ = [3, n0, _GTR, 0, [_dI, _tI], [[0, 1], [0, 1]], 2];var GetTemplateResponse$ = [3, n0, _GTRe, 0, [_tI, _tA, _n, _st, _d, _lC, _rF, _ta, _de, _cTr, _lMT, _rul, _tPC], [0, 0, 0, 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, [() => Tags, 0], 2, 5, 5, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 4];var HiddenCaseRule$ = [3, n0, _HCR, 0, [_dV, _co], [2, () => BooleanConditionList], 2];var LayoutConfiguration$ = [3, n0, _LC, 0, [_dL], [0]];var LayoutSections$ = [3, n0, _LS, 0, [_sec], [() => SectionsList]];var LayoutSummary$ = [3, n0, _LSa, 0, [_lI, _lA, _n], [0, 0, 0], 3];var ListCaseRulesRequest$ = [3, n0, _LCRR, 0, [_dI, _mR, _nT], [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1];var ListCaseRulesResponse$ = [3, n0, _LCRRi, 0, [_cR, _nT], [() => CaseRuleSummaryList, 0], 1];var ListCasesForContactRequest$ = [3, n0, _LCFCR, 0, [_dI, _cA, _mR, _nT], [[0, 1], 0, 1, 0], 2];var ListCasesForContactResponse$ = [3, n0, _LCFCRi, 0, [_ca, _nT], [() => CaseSummaryList, 0], 1];var ListDomainsRequest$ = [3, n0, _LDR, 0, [_mR, _nT], [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]];var ListDomainsResponse$ = [3, n0, _LDRi, 0, [_do, _nT], [() => DomainSummaryList, 0], 1];var ListFieldOptionsRequest$ = [3, n0, _LFOR, 0, [_dI, _fI, _mR, _nT, _va], [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [64 | 0, { [_hQ]: _va }]], 2];var ListFieldOptionsResponse$ = [3, n0, _LFORi, 0, [_o, _nT], [() => FieldOptionsList, 0], 1];var ListFieldsRequest$ = [3, n0, _LFR, 0, [_dI, _mR, _nT], [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1];var ListFieldsResponse$ = [3, n0, _LFRi, 0, [_f, _nT], [() => FieldSummaryList, 0], 1];var ListLayoutsRequest$ = [3, n0, _LLR, 0, [_dI, _mR, _nT], [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1];var ListLayoutsResponse$ = [3, n0, _LLRi, 0, [_l, _nT], [() => LayoutSummaryList, 0], 1];var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_ar], [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_ta], [[() => Tags, 0]]];var ListTemplatesRequest$ = [3, n0, _LTR, 0, [_dI, _mR, _nT, _st], [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [64 | 0, { [_hQ]: _st }]], 1];var ListTemplatesResponse$ = [3, n0, _LTRi, 0, [_te, _nT], [() => TemplateSummaryList, 0], 1];var ParentChildFieldOptionsMapping$ = [3, n0, _PCFOM, 0, [_pFOV, _cFOV], [0, 64 | 0], 2];var PutCaseEventConfigurationRequest$ = [3, n0, _PCECR, 0, [_dI, _eB], [[0, 1], () => EventBridgeConfiguration$], 2];var PutCaseEventConfigurationResponse$ = [3, n0, _PCECRu, 0, [], []];var RelatedItemEventIncludedData$ = [3, n0, _RIEID, 0, [_iC], [2], 1];var RequiredCaseRule$ = [3, n0, _RCR, 0, [_dV, _co], [2, () => BooleanConditionList], 2];var RequiredField$ = [3, n0, _RF, 0, [_fI], [0], 1];var SearchAllRelatedItemsRequest$ = [3, n0, _SARIR, 0, [_dI, _mR, _nT, _fi, _so], [[0, 1], 1, 0, [() => RelatedItemFilterList, 0], () => SearchAllRelatedItemsSortList], 1];var SearchAllRelatedItemsResponse$ = [3, n0, _SARIRe, 0, [_rIe, _nT], [[() => SearchAllRelatedItemsResponseItemList, 0], 0], 1];var SearchAllRelatedItemsResponseItem$ = [3, n0, _SARIRI, 0, [_rII, _cI, _t, _aT, _con, _pB, _ta], [0, 0, 0, 5, [() => RelatedItemContent$, 0], [() => UserUnion$, 0], [() => Tags, 0]], 5];var SearchAllRelatedItemsSort$ = [3, n0, _SARIS, 0, [_sP, _sO], [0, 0], 2];var SearchCasesRequest$ = [3, n0, _SCR, 0, [_dI, _mR, _nT, _sT, _fil, _so, _f], [[0, 1], 1, 0, 0, () => CaseFilter$, () => SortList, () => FieldIdentifierList], 1];var SearchCasesResponse$ = [3, n0, _SCRe, 0, [_ca, _nT, _tC], [[() => SearchCasesResponseItemList, 0], 0, 1], 1];var SearchCasesResponseItem$ = [3, n0, _SCRI, 0, [_cI, _tI, _f, _ta], [0, 0, () => FieldValueList, [() => Tags, 0]], 3];var SearchRelatedItemsRequest$ = [3, n0, _SRIR, 0, [_dI, _cI, _mR, _nT, _fi], [[0, 1], [0, 1], 1, 0, [() => RelatedItemFilterList, 0]], 2];var SearchRelatedItemsResponse$ = [3, n0, _SRIRe, 0, [_rIe, _nT], [[() => SearchRelatedItemsResponseItemList, 0], 0], 1];var SearchRelatedItemsResponseItem$ = [3, n0, _SRIRI, 0, [_rII, _t, _aT, _con, _ta, _pB], [0, 0, 5, [() => RelatedItemContent$, 0], [() => Tags, 0], [() => UserUnion$, 0]], 4];var SlaConfiguration$ = [3, n0, _SC, 0, [_n, _t, _st, _tT, _fI, _tFV, _cTo], [[() => SlaName, 0], 0, 0, 5, 0, () => SlaFieldValueUnionList, 5], 4];var SlaContent$ = [3, n0, _SCl, 0, [_sC], [[() => SlaConfiguration$, 0]], 1];var SlaFilter$ = [3, n0, _SF, 0, [_n, _st], [[() => SlaName, 0], 0]];var SlaInputConfiguration$ = [3, n0, _SIC, 0, [_n, _t, _tSM, _fI, _tFV], [[() => SlaName, 0], 0, 1, 0, () => SlaFieldValueUnionList], 3];var Sort$ = [3, n0, _S, 0, [_fI, _sO], [0, 0], 2];var TagPropagationConfiguration$ = [3, n0, _TPC, 0, [_rT, _tM], [0, 128 | 0], 2];var TagResourceRequest$ = [3, n0, _TRR, 0, [_ar, _ta], [[0, 1], [() => Tags, 0]], 2];var TagValue$ = [3, n0, _TV, 0, [_k, _v], [0, 0]];var TemplateRule$ = [3, n0, _TR, 0, [_cRI, _fI], [0, 0], 1];var TemplateSummary$ = [3, n0, _TS, 0, [_tI, _tA, _n, _st, _tPC], [0, 0, 0, 0, () => TagPropagationConfigurationList], 4];var TextAttributes$ = [3, n0, _TA, 0, [_iM], [2], 1];var UntagResourceRequest$ = [3, n0, _URR, 0, [_ar, _tK], [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2];var UpdateCaseRequest$ = [3, n0, _UCR, 0, [_dI, _cI, _f, _pB], [[0, 1], [0, 1], () => FieldValueList, [() => UserUnion$, 0]], 3];var UpdateCaseResponse$ = [3, n0, _UCRp, 0, [], []];var UpdateCaseRuleRequest$ = [3, n0, _UCRR, 0, [_dI, _cRI, _n, _d, _ru], [[0, 1], [0, 1], 0, 0, () => CaseRuleDetails$], 2];var UpdateCaseRuleResponse$ = [3, n0, _UCRRp, 0, [], []];var UpdateFieldRequest$ = [3, n0, _UFR, 0, [_dI, _fI, _n, _d, _a], [[0, 1], [0, 1], 0, 0, () => FieldAttributes$], 2];var UpdateFieldResponse$ = [3, n0, _UFRp, 0, [], []];var UpdateLayoutRequest$ = [3, n0, _ULR, 0, [_dI, _lI, _n, _con], [[0, 1], [0, 1], 0, () => LayoutContent$], 2];var UpdateLayoutResponse$ = [3, n0, _ULRp, 0, [], []];var UpdateRelatedItemRequest$ = [3, n0, _URIR, 0, [_dI, _cI, _rII, _con, _pB], [[0, 1], [0, 1], [0, 1], () => RelatedItemUpdateContent$, [() => UserUnion$, 0]], 4];var UpdateRelatedItemResponse$ = [3, n0, _URIRp, 0, [_rII, _rIA, _t, _con, _aT, _ta, _lUU, _cB], [0, 0, 0, [() => RelatedItemContent$, 0], 5, [() => Tags, 0], [() => UserUnion$, 0], [() => UserUnion$, 0]], 5];var UpdateTemplateRequest$ = [3, n0, _UTR, 0, [_dI, _tI, _n, _d, _lC, _rF, _st, _rul, _tPC], [[0, 1], [0, 1], 0, 0, () => LayoutConfiguration$, () => RequiredFieldList, 0, () => TemplateCaseRuleList, () => TagPropagationConfigurationList], 2];var UpdateTemplateResponse$ = [3, n0, _UTRp, 0, [], []];var __Unit = "unit";var AuditEventFieldList = [1, n0, _AEFL, { [_sp]: 1 }, () => AuditEventField$];var AuditEventsList = [1, n0, _AEL, { [_sp]: 1 }, [() => AuditEvent$, 0]];var BatchGetCaseRuleErrorList = [1, n0, _BGCREL, 0, () => CaseRuleError$];var BatchGetCaseRuleList = [1, n0, _BGCRL, 0, [() => GetCaseRuleResponse$, 0]];var BatchGetFieldErrorList = [1, n0, _BGFEL, 0, () => FieldError$];var BatchGetFieldIdentifierList = [1, n0, _BGFIL, 0, () => FieldIdentifier$];var BatchGetFieldList = [1, n0, _BGFL, 0, [() => GetFieldResponse$, 0]];var BooleanConditionList = [1, n0, _BCL, 0, () => BooleanCondition$];var CaseFilterList = [1, n0, _CFL, 0, () => CaseFilter$];var CaseRuleIdentifierList = [1, n0, _CRIL, 0, () => CaseRuleIdentifier$];var CaseRuleSummaryList = [1, n0, _CRSL, 0, () => CaseRuleSummary$];var CaseSummaryList = [1, n0, _CSL, 0, () => CaseSummary$];var CustomFieldsFilterList = [1, n0, _CFFL, 0, () => CustomFieldsFilter$];var DomainSummaryList = [1, n0, _DSL, 0, () => DomainSummary$];var FieldIdentifierList = [1, n0, _FIL, 0, () => FieldIdentifier$];var FieldList = [1, n0, _FL, 0, () => FieldItem$];var FieldOptionErrorList = [1, n0, _FOEL, 0, () => FieldOptionError$];var FieldOptionsList = [1, n0, _FOL, 0, () => FieldOption$];var FieldSummaryList = [1, n0, _FSL, 0, () => FieldSummary$];var FieldValueList = [1, n0, _FVL, 0, () => FieldValue$];var LayoutSummaryList = [1, n0, _LSL, 0, () => LayoutSummary$];var ParentChildFieldOptionsMappingList = [1, n0, _PCFOML, 0, () => ParentChildFieldOptionsMapping$];var RelatedItemFilterList = [1, n0, _RIFL, 0, [() => RelatedItemTypeFilter$, 0]];var RequiredFieldList = [1, n0, _RFL, 0, () => RequiredField$];var SearchAllRelatedItemsResponseItemList = [1, n0, _SARIRIL, { [_sp]: 1 }, [() => SearchAllRelatedItemsResponseItem$, 0]];var SearchAllRelatedItemsSortList = [1, n0, _SARISL, 0, () => SearchAllRelatedItemsSort$];var SearchCasesResponseItemList = [1, n0, _SCRIL, { [_sp]: 1 }, [() => SearchCasesResponseItem$, 0]];var SearchRelatedItemsResponseItemList = [1, n0, _SRIRIL, { [_sp]: 1 }, [() => SearchRelatedItemsResponseItem$, 0]];var SectionsList = [1, n0, _SL, 0, () => Section$];var SlaFieldValueUnionList = [1, n0, _SFVUL, 0, () => FieldValueUnion$];var SortList = [1, n0, _SLo, 0, () => Sort$];var TagPropagationConfigurationList = [1, n0, _TPCL, 0, () => TagPropagationConfiguration$];var TemplateCaseRuleList = [1, n0, _TCRL, 0, () => TemplateRule$];var TemplateSummaryList = [1, n0, _TSL, 0, () => TemplateSummary$];var Tags = [2, n0, _T, { [_sp]: 1 }, 0, 0];var AuditEventFieldValueUnion$ = [4, n0, _AEFVU, 0, [_sV, _dVo, _bV, _eV, _uAV], [0, 1, 2, () => EmptyFieldValue$, 0]];var BooleanCondition$ = [4, n0, _BC, 0, [_eT, _nET, _aA, _oA], [() => BooleanOperands$, () => BooleanOperands$, () => CompoundCondition$, () => CompoundCondition$]];var CaseFilter$ = [4, n0, _CFa, 0, [_fie, _no, _tag, _aA, _oA], [() => FieldFilter$, () => CaseFilter$, () => TagFilter$, () => CaseFilterList, () => CaseFilterList]];var CaseRuleDetails$ = [4, n0, _CRD, 0, [_re, _fO, _h], [() => RequiredCaseRule$, () => FieldOptionsCaseRule$, () => HiddenCaseRule$]];var CustomFieldsFilter$ = [4, n0, _CFF, 0, [_fie, _no, _aA, _oA], [() => FieldFilter$, () => CustomFieldsFilter$, () => CustomFieldsFilterList, () => CustomFieldsFilterList]];var FieldAttributes$ = [4, n0, _FA, 0, [_tex], [() => TextAttributes$]];var FieldFilter$ = [4, n0, _FFi, 0, [_eT, _cont, _gT, _gTOET, _lT, _lTOET], [() => FieldValue$, () => FieldValue$, () => FieldValue$, () => FieldValue$, () => FieldValue$, () => FieldValue$]];var FieldValueUnion$ = [4, n0, _FVU, 0, [_sV, _dVo, _bV, _eV, _uAV], [0, 1, 2, () => EmptyFieldValue$, 0]];var LayoutContent$ = [4, n0, _LCa, 0, [_ba], [() => BasicLayout$]];var OperandOne$ = [4, n0, _OO, 0, [_fI], [0]];var OperandTwo$ = [4, n0, _OT, 0, [_sV, _bV, _dVo, _eV], [0, 2, 1, () => EmptyOperandValue$]];var RelatedItemContent$ = [4, n0, _RIC, 0, [_conta, _com, _file, _sl, _cC, _cu], [() => ContactContent$, () => CommentContent$, () => FileContent$, [() => SlaContent$, 0], () => ConnectCaseContent$, () => CustomContent$]];var RelatedItemInputContent$ = [4, n0, _RIIC, 0, [_conta, _com, _file, _sl, _cC, _cu], [() => Contact$, () => CommentContent$, () => FileContent$, [() => SlaInputContent$, 0], () => ConnectCaseInputContent$, () => CustomInputContent$]];var RelatedItemTypeFilter$ = [4, n0, _RITF, 0, [_conta, _com, _file, _sl, _cC, _cu], [() => ContactFilter$, () => CommentFilter$, () => FileFilter$, [() => SlaFilter$, 0], () => ConnectCaseFilter$, () => CustomFilter$]];var RelatedItemUpdateContent$ = [4, n0, _RIUC, 0, [_com, _cu], [() => CommentUpdateContent$, () => CustomUpdateContent$]];var Section$ = [4, n0, _Se, 0, [_fG], [() => FieldGroup$]];var SlaInputContent$ = [4, n0, _SICl, 0, [_sIC], [[() => SlaInputConfiguration$, 0]]];var TagFilter$ = [4, n0, _TF, 0, [_eT], [() => TagValue$]];var UserUnion$ = [4, n0, _UU, 0, [_uA, _cE], [0, [() => CustomEntity, 0]]];var BatchGetCaseRule$ = [9, n0, _BGCR, { [_ht]: ["POST", "/domains/{domainId}/rules-batch", 200] }, () => BatchGetCaseRuleRequest$, () => BatchGetCaseRuleResponse$];var BatchGetField$ = [9, n0, _BGF, { [_ht]: ["POST", "/domains/{domainId}/fields-batch", 200] }, () => BatchGetFieldRequest$, () => BatchGetFieldResponse$];var BatchPutFieldOptions$ = [9, n0, _BPFO, { [_ht]: ["PUT", "/domains/{domainId}/fields/{fieldId}/options", 200] }, () => BatchPutFieldOptionsRequest$, () => BatchPutFieldOptionsResponse$];var CreateCase$ = [9, n0, _CCr, { [_ht]: ["POST", "/domains/{domainId}/cases", 200] }, () => CreateCaseRequest$, () => CreateCaseResponse$];var CreateCaseRule$ = [9, n0, _CCRre, { [_ht]: ["POST", "/domains/{domainId}/case-rules", 200] }, () => CreateCaseRuleRequest$, () => CreateCaseRuleResponse$];var CreateDomain$ = [9, n0, _CD, { [_ht]: ["POST", "/domains", 200] }, () => CreateDomainRequest$, () => CreateDomainResponse$];var CreateField$ = [9, n0, _CFr, { [_ht]: ["POST", "/domains/{domainId}/fields", 200] }, () => CreateFieldRequest$, () => CreateFieldResponse$];var CreateLayout$ = [9, n0, _CL, { [_ht]: ["POST", "/domains/{domainId}/layouts", 200] }, () => CreateLayoutRequest$, () => CreateLayoutResponse$];var CreateRelatedItem$ = [9, n0, _CRIr, { [_ht]: ["POST", "/domains/{domainId}/cases/{caseId}/related-items/", 200] }, () => CreateRelatedItemRequest$, () => CreateRelatedItemResponse$];var CreateTemplate$ = [9, n0, _CT, { [_ht]: ["POST", "/domains/{domainId}/templates", 200] }, () => CreateTemplateRequest$, () => CreateTemplateResponse$];var DeleteCase$ = [9, n0, _DC, { [_ht]: ["DELETE", "/domains/{domainId}/cases/{caseId}", 200] }, () => DeleteCaseRequest$, () => DeleteCaseResponse$];var DeleteCaseRule$ = [9, n0, _DCRel, { [_ht]: ["DELETE", "/domains/{domainId}/case-rules/{caseRuleId}", 200] }, () => DeleteCaseRuleRequest$, () => DeleteCaseRuleResponse$];var DeleteDomain$ = [9, n0, _DD, { [_ht]: ["DELETE", "/domains/{domainId}", 200] }, () => DeleteDomainRequest$, () => DeleteDomainResponse$];var DeleteField$ = [9, n0, _DF, { [_ht]: ["DELETE", "/domains/{domainId}/fields/{fieldId}", 200] }, () => DeleteFieldRequest$, () => DeleteFieldResponse$];var DeleteLayout$ = [9, n0, _DL, { [_ht]: ["DELETE", "/domains/{domainId}/layouts/{layoutId}", 200] }, () => DeleteLayoutRequest$, () => DeleteLayoutResponse$];var DeleteRelatedItem$ = [9, n0, _DRI, { [_ht]: ["DELETE", "/domains/{domainId}/cases/{caseId}/related-items/{relatedItemId}", 200] }, () => DeleteRelatedItemRequest$, () => DeleteRelatedItemResponse$];var DeleteTemplate$ = [9, n0, _DT, { [_ht]: ["DELETE", "/domains/{domainId}/templates/{templateId}", 200] }, () => DeleteTemplateRequest$, () => DeleteTemplateResponse$];var GetCase$ = [9, n0, _GC, { [_ht]: ["POST", "/domains/{domainId}/cases/{caseId}", 200] }, () => GetCaseRequest$, () => GetCaseResponse$];var GetCaseAuditEvents$ = [9, n0, _GCAE, { [_ht]: ["POST", "/domains/{domainId}/cases/{caseId}/audit-history", 200] }, () => GetCaseAuditEventsRequest$, () => GetCaseAuditEventsResponse$];var GetCaseEventConfiguration$ = [9, n0, _GCEC, { [_ht]: ["POST", "/domains/{domainId}/case-event-configuration", 200] }, () => GetCaseEventConfigurationRequest$, () => GetCaseEventConfigurationResponse$];var GetDomain$ = [9, n0, _GD, { [_ht]: ["POST", "/domains/{domainId}", 200] }, () => GetDomainRequest$, () => GetDomainResponse$];var GetLayout$ = [9, n0, _GL, { [_ht]: ["POST", "/domains/{domainId}/layouts/{layoutId}", 200] }, () => GetLayoutRequest$, () => GetLayoutResponse$];var GetTemplate$ = [9, n0, _GT, { [_ht]: ["POST", "/domains/{domainId}/templates/{templateId}", 200] }, () => GetTemplateRequest$, () => GetTemplateResponse$];var ListCaseRules$ = [9, n0, _LCR, { [_ht]: ["POST", "/domains/{domainId}/rules-list/", 200] }, () => ListCaseRulesRequest$, () => ListCaseRulesResponse$];var ListCasesForContact$ = [9, n0, _LCFC, { [_ht]: ["POST", "/domains/{domainId}/list-cases-for-contact", 200] }, () => ListCasesForContactRequest$, () => ListCasesForContactResponse$];var ListDomains$ = [9, n0, _LD, { [_ht]: ["POST", "/domains-list", 200] }, () => ListDomainsRequest$, () => ListDomainsResponse$];var ListFieldOptions$ = [9, n0, _LFO, { [_ht]: ["POST", "/domains/{domainId}/fields/{fieldId}/options-list", 200] }, () => ListFieldOptionsRequest$, () => ListFieldOptionsResponse$];var ListFields$ = [9, n0, _LF, { [_ht]: ["POST", "/domains/{domainId}/fields-list", 200] }, () => ListFieldsRequest$, () => ListFieldsResponse$];var ListLayouts$ = [9, n0, _LL, { [_ht]: ["POST", "/domains/{domainId}/layouts-list", 200] }, () => ListLayoutsRequest$, () => ListLayoutsResponse$];var ListTagsForResource$ = [9, n0, _LTFR, { [_ht]: ["GET", "/tags/{arn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var ListTemplates$ = [9, n0, _LT, { [_ht]: ["POST", "/domains/{domainId}/templates-list", 200] }, () => ListTemplatesRequest$, () => ListTemplatesResponse$];var PutCaseEventConfiguration$ = [9, n0, _PCEC, { [_ht]: ["PUT", "/domains/{domainId}/case-event-configuration", 200] }, () => PutCaseEventConfigurationRequest$, () => PutCaseEventConfigurationResponse$];var SearchAllRelatedItems$ = [9, n0, _SARI, { [_ht]: ["POST", "/domains/{domainId}/related-items-search", 200] }, () => SearchAllRelatedItemsRequest$, () => SearchAllRelatedItemsResponse$];var SearchCases$ = [9, n0, _SCe, { [_ht]: ["POST", "/domains/{domainId}/cases-search", 200] }, () => SearchCasesRequest$, () => SearchCasesResponse$];var SearchRelatedItems$ = [9, n0, _SRI, { [_ht]: ["POST", "/domains/{domainId}/cases/{caseId}/related-items-search", 200] }, () => SearchRelatedItemsRequest$, () => SearchRelatedItemsResponse$];var TagResource$ = [9, n0, _TRa, { [_ht]: ["POST", "/tags/{arn}", 200] }, () => TagResourceRequest$, () => __Unit];var UntagResource$ = [9, n0, _UR, { [_ht]: ["DELETE", "/tags/{arn}", 200] }, () => UntagResourceRequest$, () => __Unit];var UpdateCase$ = [9, n0, _UC, { [_ht]: ["PUT", "/domains/{domainId}/cases/{caseId}", 200] }, () => UpdateCaseRequest$, () => UpdateCaseResponse$];var UpdateCaseRule$ = [9, n0, _UCRpd, { [_ht]: ["PUT", "/domains/{domainId}/case-rules/{caseRuleId}", 200] }, () => UpdateCaseRuleRequest$, () => UpdateCaseRuleResponse$];var UpdateField$ = [9, n0, _UF, { [_ht]: ["PUT", "/domains/{domainId}/fields/{fieldId}", 200] }, () => UpdateFieldRequest$, () => UpdateFieldResponse$];var UpdateLayout$ = [9, n0, _UL, { [_ht]: ["PUT", "/domains/{domainId}/layouts/{layoutId}", 200] }, () => UpdateLayoutRequest$, () => UpdateLayoutResponse$];var UpdateRelatedItem$ = [9, n0, _URI, { [_ht]: ["PUT", "/domains/{domainId}/cases/{caseId}/related-items/{relatedItemId}", 200] }, () => UpdateRelatedItemRequest$, () => UpdateRelatedItemResponse$];var UpdateTemplate$ = [9, n0, _UT, { [_ht]: ["PUT", "/domains/{domainId}/templates/{templateId}", 200] }, () => UpdateTemplateRequest$, () => UpdateTemplateResponse$]; const getRuntimeConfig$1 = (config) => { return { apiVersion: "2022-10-03", base64Decoder: config?.base64Decoder ?? fromBase64, base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, extensions: config?.extensions ?? [], httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultConnectCasesHttpAuthSchemeProvider, httpAuthSchemes: config?.httpAuthSchemes ?? [ { schemeId: "aws.auth#sigv4", identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), signer: new AwsSdkSigV4Signer(), }, ], logger: config?.logger ?? new NoOpLogger(), protocol: config?.protocol ?? AwsRestJsonProtocol, protocolSettings: config?.protocolSettings ?? { defaultNamespace: "com.amazonaws.connectcases", errorTypeRegistries, version: "2022-10-03", serviceTarget: "AmazonConnectCases", }, serviceId: config?.serviceId ?? "ConnectCases", sha256: config?.sha256 ?? Sha256, urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8, };}; const getRuntimeConfig = (config) => { emitWarningIfUnsupportedVersion(process.version); const defaultsMode = resolveDefaultsModeConfig(config); const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); const clientSharedValues = getRuntimeConfig$1(config); emitWarningIfUnsupportedVersion$1(process.version); const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger, }; return { ...clientSharedValues, ...config, runtime: "node", defaultsMode, authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? loadConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config), streamCollector: config?.streamCollector ?? streamCollector, useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), };}; const getHttpAuthExtensionConfiguration = (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; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class ConnectCasesClient extends Client { config; constructor(...[configuration]) { const _config_0 = getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = resolveUserAgentConfig(_config_1); const _config_3 = resolveRetryConfig(_config_2); const _config_4 = resolveRegionConfig(_config_3); const _config_5 = resolveHostHeaderConfig(_config_4); const _config_6 = resolveEndpointConfig(_config_5); const _config_7 = resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); this.middlewareStack.use(getHostHeaderPlugin(this.config)); this.middlewareStack.use(getLoggerPlugin(this.config)); this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: defaultConnectCasesHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} const command = makeBuilder(commonParams, "AmazonConnectCases", "ConnectCasesClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class BatchGetCaseRuleCommand extends command(_ep0, _mw0, "BatchGetCaseRule", BatchGetCaseRule$) {} class BatchGetFieldCommand extends command(_ep0, _mw0, "BatchGetField", BatchGetField$) {} class BatchPutFieldOptionsCommand extends command(_ep0, _mw0, "BatchPutFieldOptions", BatchPutFieldOptions$) {} class CreateCaseCommand extends command(_ep0, _mw0, "CreateCase", CreateCase$) {} class CreateCaseRuleCommand extends command(_ep0, _mw0, "CreateCaseRule", CreateCaseRule$) {} class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {} class CreateFieldCommand extends command(_ep0, _mw0, "CreateField", CreateField$) {} class CreateLayoutCommand extends command(_ep0, _mw0, "CreateLayout", CreateLayout$) {} class CreateRelatedItemCommand extends command(_ep0, _mw0, "CreateRelatedItem", CreateRelatedItem$) {} class CreateTemplateCommand extends command(_ep0, _mw0, "CreateTemplate", CreateTemplate$) {} class DeleteCaseCommand extends command(_ep0, _mw0, "DeleteCase", DeleteCase$) {} class DeleteCaseRuleCommand extends command(_ep0, _mw0, "DeleteCaseRule", DeleteCaseRule$) {} class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {} class DeleteFieldCommand extends command(_ep0, _mw0, "DeleteField", DeleteField$) {} class DeleteLayoutCommand extends command(_ep0, _mw0, "DeleteLayout", DeleteLayout$) {} class DeleteRelatedItemCommand extends command(_ep0, _mw0, "DeleteRelatedItem", DeleteRelatedItem$) {} class DeleteTemplateCommand extends command(_ep0, _mw0, "DeleteTemplate", DeleteTemplate$) {} class GetCaseAuditEventsCommand extends command(_ep0, _mw0, "GetCaseAuditEvents", GetCaseAuditEvents$) {} class GetCaseCommand extends command(_ep0, _mw0, "GetCase", GetCase$) {} class GetCaseEventConfigurationCommand extends command(_ep0, _mw0, "GetCaseEventConfiguration", GetCaseEventConfiguration$) {} class GetDomainCommand extends command(_ep0, _mw0, "GetDomain", GetDomain$) {} class GetLayoutCommand extends command(_ep0, _mw0, "GetLayout", GetLayout$) {} class GetTemplateCommand extends command(_ep0, _mw0, "GetTemplate", GetTemplate$) {} class ListCaseRulesCommand extends command(_ep0, _mw0, "ListCaseRules", ListCaseRules$) {} class ListCasesForContactCommand extends command(_ep0, _mw0, "ListCasesForContact", ListCasesForContact$) {} class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {} class ListFieldOptionsCommand extends command(_ep0, _mw0, "ListFieldOptions", ListFieldOptions$) {} class ListFieldsCommand extends command(_ep0, _mw0, "ListFields", ListFields$) {} class ListLayoutsCommand extends command(_ep0, _mw0, "ListLayouts", ListLayouts$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class ListTemplatesCommand extends command(_ep0, _mw0, "ListTemplates", ListTemplates$) {} class PutCaseEventConfigurationCommand extends command(_ep0, _mw0, "PutCaseEventConfiguration", PutCaseEventConfiguration$) {} class SearchAllRelatedItemsCommand extends command(_ep0, _mw0, "SearchAllRelatedItems", SearchAllRelatedItems$) {} class SearchCasesCommand extends command(_ep0, _mw0, "SearchCases", SearchCases$) {} class SearchRelatedItemsCommand extends command(_ep0, _mw0, "SearchRelatedItems", SearchRelatedItems$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateCaseCommand extends command(_ep0, _mw0, "UpdateCase", UpdateCase$) {} class UpdateCaseRuleCommand extends command(_ep0, _mw0, "UpdateCaseRule", UpdateCaseRule$) {} class UpdateFieldCommand extends command(_ep0, _mw0, "UpdateField", UpdateField$) {} class UpdateLayoutCommand extends command(_ep0, _mw0, "UpdateLayout", UpdateLayout$) {} class UpdateRelatedItemCommand extends command(_ep0, _mw0, "UpdateRelatedItem", UpdateRelatedItem$) {} class UpdateTemplateCommand extends command(_ep0, _mw0, "UpdateTemplate", UpdateTemplate$) {} const paginateGetCaseAuditEvents = createPaginator(ConnectCasesClient, GetCaseAuditEventsCommand, "nextToken", "nextToken", "maxResults"); const paginateGetCase = createPaginator(ConnectCasesClient, GetCaseCommand, "nextToken", "nextToken", ""); const paginateListCaseRules = createPaginator(ConnectCasesClient, ListCaseRulesCommand, "nextToken", "nextToken", "maxResults"); const paginateListCasesForContact = createPaginator(ConnectCasesClient, ListCasesForContactCommand, "nextToken", "nextToken", "maxResults"); const paginateListDomains = createPaginator(ConnectCasesClient, ListDomainsCommand, "nextToken", "nextToken", "maxResults"); const paginateListFieldOptions = createPaginator(ConnectCasesClient, ListFieldOptionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListFields = createPaginator(ConnectCasesClient, ListFieldsCommand, "nextToken", "nextToken", "maxResults"); const paginateListLayouts = createPaginator(ConnectCasesClient, ListLayoutsCommand, "nextToken", "nextToken", "maxResults"); const paginateListTemplates = createPaginator(ConnectCasesClient, ListTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchAllRelatedItems = createPaginator(ConnectCasesClient, SearchAllRelatedItemsCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchCases = createPaginator(ConnectCasesClient, SearchCasesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchRelatedItems = createPaginator(ConnectCasesClient, SearchRelatedItemsCommand, "nextToken", "nextToken", "maxResults"); const commands = { BatchGetCaseRuleCommand, BatchGetFieldCommand, BatchPutFieldOptionsCommand, CreateCaseCommand, CreateCaseRuleCommand, CreateDomainCommand, CreateFieldCommand, CreateLayoutCommand, CreateRelatedItemCommand, CreateTemplateCommand, DeleteCaseCommand, DeleteCaseRuleCommand, DeleteDomainCommand, DeleteFieldCommand, DeleteLayoutCommand, DeleteRelatedItemCommand, DeleteTemplateCommand, GetCaseCommand, GetCaseAuditEventsCommand, GetCaseEventConfigurationCommand, GetDomainCommand, GetLayoutCommand, GetTemplateCommand, ListCaseRulesCommand, ListCasesForContactCommand, ListDomainsCommand, ListFieldOptionsCommand, ListFieldsCommand, ListLayoutsCommand, ListTagsForResourceCommand, ListTemplatesCommand, PutCaseEventConfigurationCommand, SearchAllRelatedItemsCommand, SearchCasesCommand, SearchRelatedItemsCommand, TagResourceCommand, UntagResourceCommand, UpdateCaseCommand, UpdateCaseRuleCommand, UpdateFieldCommand, UpdateLayoutCommand, UpdateRelatedItemCommand, UpdateTemplateCommand,};const paginators = { paginateGetCase, paginateGetCaseAuditEvents, paginateListCaseRules, paginateListCasesForContact, paginateListDomains, paginateListFieldOptions, paginateListFields, paginateListLayouts, paginateListTemplates, paginateSearchAllRelatedItems, paginateSearchCases, paginateSearchRelatedItems,};class ConnectCases extends ConnectCasesClient {}createAggregatedClient(commands, ConnectCases, { paginators }); const RelatedItemType = { COMMENT: "Comment", CONNECT_CASE: "ConnectCase", CONTACT: "Contact", CUSTOM: "Custom", FILE: "File", SLA: "Sla",};const AuditEventType = { CASE_CREATED: "Case.Created", CASE_UPDATED: "Case.Updated", RELATED_ITEM_CREATED: "RelatedItem.Created", RELATED_ITEM_DELETED: "RelatedItem.Deleted", RELATED_ITEM_UPDATED: "RelatedItem.Updated",};const CommentBodyTextType = { PLAINTEXT: "Text/Plain",};const SlaType = { CASE_FIELD: "CaseField",};const SlaStatus = { ACTIVE: "Active", MET: "Met", NOT_MET: "NotMet", OVERDUE: "Overdue",};const Order = { ASCENDING: "Asc", DESCENDING: "Desc",};const RuleType = { FIELD_OPTIONS: "FieldOptions", HIDDEN: "Hidden", REQUIRED: "Required",};const DomainStatus = { ACTIVE: "Active", CREATION_FAILED: "CreationFailed", CREATION_IN_PROGRESS: "CreationInProgress",};const SearchAllRelatedItemsSortProperty = { ASSOCIATION_TIME: "AssociationTime", CASE_ID: "CaseId",};const FieldNamespace = { CUSTOM: "Custom", SYSTEM: "System",};const FieldType = { BOOLEAN: "Boolean", DATE_TIME: "DateTime", NUMBER: "Number", SINGLE_SELECT: "SingleSelect", TEXT: "Text", URL: "Url", USER: "User",};const TemplateStatus = { ACTIVE: "Active", INACTIVE: "Inactive",};const TagPropagationResourceType = { CASES: "Cases",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.AuditEvent$ = AuditEvent$;exports.AuditEventField$ = AuditEventField$;exports.AuditEventFieldValueUnion$ = AuditEventFieldValueUnion$;exports.AuditEventPerformedBy$ = AuditEventPerformedBy$;exports.AuditEventType = AuditEventType;exports.BasicLayout$ = BasicLayout$;exports.BatchGetCaseRule$ = BatchGetCaseRule$;exports.BatchGetCaseRuleCommand = BatchGetCaseRuleCommand;exports.BatchGetCaseRuleRequest$ = BatchGetCaseRuleRequest$;exports.BatchGetCaseRuleResponse$ = BatchGetCaseRuleResponse$;exports.BatchGetField$ = BatchGetField$;exports.BatchGetFieldCommand = BatchGetFieldCommand;exports.BatchGetFieldRequest$ = BatchGetFieldRequest$;exports.BatchGetFieldResponse$ = BatchGetFieldResponse$;exports.BatchPutFieldOptions$ = BatchPutFieldOptions$;exports.BatchPutFieldOptionsCommand = BatchPutFieldOptionsCommand;exports.BatchPutFieldOptionsRequest$ = BatchPutFieldOptionsRequest$;exports.BatchPutFieldOptionsResponse$ = BatchPutFieldOptionsResponse$;exports.BooleanCondition$ = BooleanCondition$;exports.BooleanOperands$ = BooleanOperands$;exports.CaseEventIncludedData$ = CaseEventIncludedData$;exports.CaseFilter$ = CaseFilter$;exports.CaseRuleDetails$ = CaseRuleDetails$;exports.CaseRuleError$ = CaseRuleError$;exports.CaseRuleIdentifier$ = CaseRuleIdentifier$;exports.CaseRuleSummary$ = CaseRuleSummary$;exports.CaseSummary$ = CaseSummary$;exports.CommentBodyTextType = CommentBodyTextType;exports.CommentContent$ = CommentContent$;exports.CommentFilter$ = CommentFilter$;exports.CommentUpdateContent$ = CommentUpdateContent$;exports.CompoundCondition$ = CompoundCondition$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.ConnectCaseContent$ = ConnectCaseContent$;exports.ConnectCaseFilter$ = ConnectCaseFilter$;exports.ConnectCaseInputContent$ = ConnectCaseInputContent$;exports.ConnectCases = ConnectCases;exports.ConnectCasesClient = ConnectCasesClient;exports.ConnectCasesServiceException = ConnectCasesServiceException;exports.ConnectCasesServiceException$ = ConnectCasesServiceException$;exports.Contact$ = Contact$;exports.ContactContent$ = ContactContent$;exports.ContactFilter$ = ContactFilter$;exports.CreateCase$ = CreateCase$;exports.CreateCaseCommand = CreateCaseCommand;exports.CreateCaseRequest$ = CreateCaseRequest$;exports.CreateCaseResponse$ = CreateCaseResponse$;exports.CreateCaseRule$ = CreateCaseRule$;exports.CreateCaseRuleCommand = CreateCaseRuleCommand;exports.CreateCaseRuleRequest$ = CreateCaseRuleRequest$;exports.CreateCaseRuleResponse$ = CreateCaseRuleResponse$;exports.CreateDomain$ = CreateDomain$;exports.CreateDomainCommand = CreateDomainCommand;exports.CreateDomainRequest$ = CreateDomainRequest$;exports.CreateDomainResponse$ = CreateDomainResponse$;exports.CreateField$ = CreateField$;exports.CreateFieldCommand = CreateFieldCommand;exports.CreateFieldRequest$ = CreateFieldRequest$;exports.CreateFieldResponse$ = CreateFieldResponse$;exports.CreateLayout$ = CreateLayout$;exports.CreateLayoutCommand = CreateLayoutCommand;exports.CreateLayoutRequest$ = CreateLayoutRequest$;exports.CreateLayoutResponse$ = CreateLayoutResponse$;exports.CreateRelatedItem$ = CreateRelatedItem$;exports.CreateRelatedItemCommand = CreateRelatedItemCommand;exports.CreateRelatedItemRequest$ = CreateRelatedItemRequest$;exports.CreateRelatedItemResponse$ = CreateRelatedItemResponse$;exports.CreateTemplate$ = CreateTemplate$;exports.CreateTemplateCommand = CreateTemplateCommand;exports.CreateTemplateRequest$ = CreateTemplateRequest$;exports.CreateTemplateResponse$ = CreateTemplateResponse$;exports.CustomContent$ = CustomContent$;exports.CustomFieldsFilter$ = CustomFieldsFilter$;exports.CustomFilter$ = CustomFilter$;exports.CustomInputContent$ = CustomInputContent$;exports.CustomUpdateContent$ = CustomUpdateContent$;exports.DeleteCase$ = DeleteCase$;exports.DeleteCaseCommand = DeleteCaseCommand;exports.DeleteCaseRequest$ = DeleteCaseRequest$;exports.DeleteCaseResponse$ = DeleteCaseResponse$;exports.DeleteCaseRule$ = DeleteCaseRule$;exports.DeleteCaseRuleCommand = DeleteCaseRuleCommand;exports.DeleteCaseRuleRequest$ = DeleteCaseRuleRequest$;exports.DeleteCaseRuleResponse$ = DeleteCaseRuleResponse$;exports.DeleteDomain$ = DeleteDomain$;exports.DeleteDomainCommand = DeleteDomainCommand;exports.DeleteDomainRequest$ = DeleteDomainRequest$;exports.DeleteDomainResponse$ = DeleteDomainResponse$;exports.DeleteField$ = DeleteField$;exports.DeleteFieldCommand = DeleteFieldCommand;exports.DeleteFieldRequest$ = DeleteFieldRequest$;exports.DeleteFieldResponse$ = DeleteFieldResponse$;exports.DeleteLayout$ = DeleteLayout$;exports.DeleteLayoutCommand = DeleteLayoutCommand;exports.DeleteLayoutRequest$ = DeleteLayoutRequest$;exports.DeleteLayoutResponse$ = DeleteLayoutResponse$;exports.DeleteRelatedItem$ = DeleteRelatedItem$;exports.DeleteRelatedItemCommand = DeleteRelatedItemCommand;exports.DeleteRelatedItemRequest$ = DeleteRelatedItemRequest$;exports.DeleteRelatedItemResponse$ = DeleteRelatedItemResponse$;exports.DeleteTemplate$ = DeleteTemplate$;exports.DeleteTemplateCommand = DeleteTemplateCommand;exports.DeleteTemplateRequest$ = DeleteTemplateRequest$;exports.DeleteTemplateResponse$ = DeleteTemplateResponse$;exports.DomainStatus = DomainStatus;exports.DomainSummary$ = DomainSummary$;exports.EmptyFieldValue$ = EmptyFieldValue$;exports.EmptyOperandValue$ = EmptyOperandValue$;exports.EventBridgeConfiguration$ = EventBridgeConfiguration$;exports.EventIncludedData$ = EventIncludedData$;exports.FieldAttributes$ = FieldAttributes$;exports.FieldError$ = FieldError$;exports.FieldFilter$ = FieldFilter$;exports.FieldGroup$ = FieldGroup$;exports.FieldIdentifier$ = FieldIdentifier$;exports.FieldItem$ = FieldItem$;exports.FieldNamespace = FieldNamespace;exports.FieldOption$ = FieldOption$;exports.FieldOptionError$ = FieldOptionError$;exports.FieldOptionsCaseRule$ = FieldOptionsCaseRule$;exports.FieldSummary$ = FieldSummary$;exports.FieldType = FieldType;exports.FieldValue$ = FieldValue$;exports.FieldValueUnion$ = FieldValueUnion$;exports.FileContent$ = FileContent$;exports.FileFilter$ = FileFilter$;exports.GetCase$ = GetCase$;exports.GetCaseAuditEvents$ = GetCaseAuditEvents$;exports.GetCaseAuditEventsCommand = GetCaseAuditEventsCommand;exports.GetCaseAuditEventsRequest$ = GetCaseAuditEventsRequest$;exports.GetCaseAuditEventsResponse$ = GetCaseAuditEventsResponse$;exports.GetCaseCommand = GetCaseCommand;exports.GetCaseEventConfiguration$ = GetCaseEventConfiguration$;exports.GetCaseEventConfigurationCommand = GetCaseEventConfigurationCommand;exports.GetCaseEventConfigurationRequest$ = GetCaseEventConfigurationRequest$;exports.GetCaseEventConfigurationResponse$ = GetCaseEventConfigurationResponse$;exports.GetCaseRequest$ = GetCaseRequest$;exports.GetCaseResponse$ = GetCaseResponse$;exports.GetCaseRuleResponse$ = GetCaseRuleResponse$;exports.GetDomain$ = GetDomain$;exports.GetDomainCommand = GetDomainCommand;exports.GetDomainRequest$ = GetDomainRequest$;exports.GetDomainResponse$ = GetDomainResponse$;exports.GetFieldResponse$ = GetFieldResponse$;exports.GetLayout$ = GetLayout$;exports.GetLayoutCommand = GetLayoutCommand;exports.GetLayoutRequest$ = GetLayoutRequest$;exports.GetLayoutResponse$ = GetLayoutResponse$;exports.GetTemplate$ = GetTemplate$;exports.GetTemplateCommand = GetTemplateCommand;exports.GetTemplateRequest$ = GetTemplateRequest$;exports.GetTemplateResponse$ = GetTemplateResponse$;exports.HiddenCaseRule$ = HiddenCaseRule$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.LayoutConfiguration$ = LayoutConfiguration$;exports.LayoutContent$ = LayoutContent$;exports.LayoutSections$ = LayoutSections$;exports.LayoutSummary$ = LayoutSummary$;exports.ListCaseRules$ = ListCaseRules$;exports.ListCaseRulesCommand = ListCaseRulesCommand;exports.ListCaseRulesRequest$ = ListCaseRulesRequest$;exports.ListCaseRulesResponse$ = ListCaseRulesResponse$;exports.ListCasesForContact$ = ListCasesForContact$;exports.ListCasesForContactCommand = ListCasesForContactCommand;exports.ListCasesForContactRequest$ = ListCasesForContactRequest$;exports.ListCasesForContactResponse$ = ListCasesForContactResponse$;exports.ListDomains$ = ListDomains$;exports.ListDomainsCommand = ListDomainsCommand;exports.ListDomainsRequest$ = ListDomainsRequest$;exports.ListDomainsResponse$ = ListDomainsResponse$;exports.ListFieldOptions$ = ListFieldOptions$;exports.ListFieldOptionsCommand = ListFieldOptionsCommand;exports.ListFieldOptionsRequest$ = ListFieldOptionsRequest$;exports.ListFieldOptionsResponse$ = ListFieldOptionsResponse$;exports.ListFields$ = ListFields$;exports.ListFieldsCommand = ListFieldsCommand;exports.ListFieldsRequest$ = ListFieldsRequest$;exports.ListFieldsResponse$ = ListFieldsResponse$;exports.ListLayouts$ = ListLayouts$;exports.ListLayoutsCommand = ListLayoutsCommand;exports.ListLayoutsRequest$ = ListLayoutsRequest$;exports.ListLayoutsResponse$ = ListLayoutsResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.ListTemplates$ = ListTemplates$;exports.ListTemplatesCommand = ListTemplatesCommand;exports.ListTemplatesRequest$ = ListTemplatesRequest$;exports.ListTemplatesResponse$ = ListTemplatesResponse$;exports.OperandOne$ = OperandOne$;exports.OperandTwo$ = OperandTwo$;exports.Order = Order;exports.ParentChildFieldOptionsMapping$ = ParentChildFieldOptionsMapping$;exports.PutCaseEventConfiguration$ = PutCaseEventConfiguration$;exports.PutCaseEventConfigurationCommand = PutCaseEventConfigurationCommand;exports.PutCaseEventConfigurationRequest$ = PutCaseEventConfigurationRequest$;exports.PutCaseEventConfigurationResponse$ = PutCaseEventConfigurationResponse$;exports.RelatedItemContent$ = RelatedItemContent$;exports.RelatedItemEventIncludedData$ = RelatedItemEventIncludedData$;exports.RelatedItemInputContent$ = RelatedItemInputContent$;exports.RelatedItemType = RelatedItemType;exports.RelatedItemTypeFilter$ = RelatedItemTypeFilter$;exports.RelatedItemUpdateContent$ = RelatedItemUpdateContent$;exports.RequiredCaseRule$ = RequiredCaseRule$;exports.RequiredField$ = RequiredField$;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.RuleType = RuleType;exports.SearchAllRelatedItems$ = SearchAllRelatedItems$;exports.SearchAllRelatedItemsCommand = SearchAllRelatedItemsCommand;exports.SearchAllRelatedItemsRequest$ = SearchAllRelatedItemsRequest$;exports.SearchAllRelatedItemsResponse$ = SearchAllRelatedItemsResponse$;exports.SearchAllRelatedItemsResponseItem$ = SearchAllRelatedItemsResponseItem$;exports.SearchAllRelatedItemsSort$ = SearchAllRelatedItemsSort$;exports.SearchAllRelatedItemsSortProperty = SearchAllRelatedItemsSortProperty;exports.SearchCases$ = SearchCases$;exports.SearchCasesCommand = SearchCasesCommand;exports.SearchCasesRequest$ = SearchCasesRequest$;exports.SearchCasesResponse$ = SearchCasesResponse$;exports.SearchCasesResponseItem$ = SearchCasesResponseItem$;exports.SearchRelatedItems$ = SearchRelatedItems$;exports.SearchRelatedItemsCommand = SearchRelatedItemsCommand;exports.SearchRelatedItemsRequest$ = SearchRelatedItemsRequest$;exports.SearchRelatedItemsResponse$ = SearchRelatedItemsResponse$;exports.SearchRelatedItemsResponseItem$ = SearchRelatedItemsResponseItem$;exports.Section$ = Section$;exports.ServiceQuotaExceededException = ServiceQuotaExceededException;exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;exports.SlaConfiguration$ = SlaConfiguration$;exports.SlaContent$ = SlaContent$;exports.SlaFilter$ = SlaFilter$;exports.SlaInputConfiguration$ = SlaInputConfiguration$;exports.SlaInputContent$ = SlaInputContent$;exports.SlaStatus = SlaStatus;exports.SlaType = SlaType;exports.Sort$ = Sort$;exports.TagFilter$ = TagFilter$;exports.TagPropagationConfiguration$ = TagPropagationConfiguration$;exports.TagPropagationResourceType = TagPropagationResourceType;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagValue$ = TagValue$;exports.TemplateRule$ = TemplateRule$;exports.TemplateStatus = TemplateStatus;exports.TemplateSummary$ = TemplateSummary$;exports.TextAttributes$ = TextAttributes$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UpdateCase$ = UpdateCase$;exports.UpdateCaseCommand = UpdateCaseCommand;exports.UpdateCaseRequest$ = UpdateCaseRequest$;exports.UpdateCaseResponse$ = UpdateCaseResponse$;exports.UpdateCaseRule$ = UpdateCaseRule$;exports.UpdateCaseRuleCommand = UpdateCaseRuleCommand;exports.UpdateCaseRuleRequest$ = UpdateCaseRuleRequest$;exports.UpdateCaseRuleResponse$ = UpdateCaseRuleResponse$;exports.UpdateField$ = UpdateField$;exports.UpdateFieldCommand = UpdateFieldCommand;exports.UpdateFieldRequest$ = UpdateFieldRequest$;exports.UpdateFieldResponse$ = UpdateFieldResponse$;exports.UpdateLayout$ = UpdateLayout$;exports.UpdateLayoutCommand = UpdateLayoutCommand;exports.UpdateLayoutRequest$ = UpdateLayoutRequest$;exports.UpdateLayoutResponse$ = UpdateLayoutResponse$;exports.UpdateRelatedItem$ = UpdateRelatedItem$;exports.UpdateRelatedItemCommand = UpdateRelatedItemCommand;exports.UpdateRelatedItemRequest$ = UpdateRelatedItemRequest$;exports.UpdateRelatedItemResponse$ = UpdateRelatedItemResponse$;exports.UpdateTemplate$ = UpdateTemplate$;exports.UpdateTemplateCommand = UpdateTemplateCommand;exports.UpdateTemplateRequest$ = UpdateTemplateRequest$;exports.UpdateTemplateResponse$ = UpdateTemplateResponse$;exports.UserUnion$ = UserUnion$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateGetCase = paginateGetCase;exports.paginateGetCaseAuditEvents = paginateGetCaseAuditEvents;exports.paginateListCaseRules = paginateListCaseRules;exports.paginateListCasesForContact = paginateListCasesForContact;exports.paginateListDomains = paginateListDomains;exports.paginateListFieldOptions = paginateListFieldOptions;exports.paginateListFields = paginateListFields;exports.paginateListLayouts = paginateListLayouts;exports.paginateListTemplates = paginateListTemplates;exports.paginateSearchAllRelatedItems = paginateSearchAllRelatedItems;exports.paginateSearchCases = paginateSearchCases;exports.paginateSearchRelatedItems = paginateSearchRelatedItems;