@aws-sdk/client-connectcases 3.994.0 → 3.996.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -767,18 +767,9 @@ const TagPropagationResourceType = {
767
767
  CASES: "Cases",
768
768
  };
769
769
 
770
- Object.defineProperty(exports, "$Command", {
771
- enumerable: true,
772
- get: function () { return smithyClient.Command; }
773
- });
774
- Object.defineProperty(exports, "__Client", {
775
- enumerable: true,
776
- get: function () { return smithyClient.Client; }
777
- });
778
- Object.defineProperty(exports, "ConnectCasesServiceException", {
779
- enumerable: true,
780
- get: function () { return ConnectCasesServiceException.ConnectCasesServiceException; }
781
- });
770
+ exports.$Command = smithyClient.Command;
771
+ exports.__Client = smithyClient.Client;
772
+ exports.ConnectCasesServiceException = ConnectCasesServiceException.ConnectCasesServiceException;
782
773
  exports.AuditEventType = AuditEventType;
783
774
  exports.BatchGetCaseRuleCommand = BatchGetCaseRuleCommand;
784
775
  exports.BatchGetFieldCommand = BatchGetFieldCommand;
@@ -848,15 +839,23 @@ exports.paginateListTemplates = paginateListTemplates;
848
839
  exports.paginateSearchAllRelatedItems = paginateSearchAllRelatedItems;
849
840
  exports.paginateSearchCases = paginateSearchCases;
850
841
  exports.paginateSearchRelatedItems = paginateSearchRelatedItems;
851
- Object.keys(schemas_0).forEach(function (k) {
852
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
842
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
843
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
844
+ Object.defineProperty(exports, '__proto__', {
853
845
  enumerable: true,
854
- get: function () { return schemas_0[k]; }
846
+ value: schemas_0['__proto__']
855
847
  });
848
+
849
+ Object.keys(schemas_0).forEach(function (k) {
850
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
856
851
  });
857
- Object.keys(errors).forEach(function (k) {
858
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
852
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
853
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
854
+ Object.defineProperty(exports, '__proto__', {
859
855
  enumerable: true,
860
- get: function () { return errors[k]; }
856
+ value: errors['__proto__']
861
857
  });
858
+
859
+ Object.keys(errors).forEach(function (k) {
860
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
862
861
  });
@@ -27,7 +27,7 @@ declare const DeleteFieldCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes a field from a cases template. You can delete up to 100 fields per domain.</p> <p>After a field is deleted:</p> <ul> <li> <p>You can still retrieve the field by calling <code>BatchGetField</code>.</p> </li> <li> <p>You cannot update a deleted field by calling <code>UpdateField</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted fields are not included in the <code>ListFields</code> response.</p> </li> <li> <p>Calling <code>CreateCase</code> with a deleted field throws a <code>ValidationException</code> denoting which field identifiers in the request have been deleted.</p> </li> <li> <p>Calling <code>GetCase</code> with a deleted field identifier returns the deleted field's value if one exists.</p> </li> <li> <p>Calling <code>UpdateCase</code> with a deleted field ID throws a <code>ValidationException</code> if the case does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove (using <code>emptyValue: \{\}</code>) the field's value from the case.</p> </li> <li> <p> <code>GetTemplate</code> does not return field IDs for deleted fields.</p> </li> <li> <p> <code>GetLayout</code> does not return field IDs for deleted fields.</p> </li> <li> <p>Calling <code>SearchCases</code> with the deleted field ID as a filter returns any cases that have a value for the deleted field that matches the filter criteria.</p> </li> <li> <p>Calling <code>SearchCases</code> with a <code>searchTerm</code> value that matches a deleted field's value on a case returns the case in the response.</p> </li> <li> <p>Calling <code>BatchPutFieldOptions</code> with a deleted field ID throw a <code>ValidationException</code>.</p> </li> <li> <p>Calling <code>GetCaseEventConfiguration</code> does not return field IDs for deleted fields.</p> </li> </ul>
30
+ * <p>Deletes a field from a cases template.</p> <p>After a field is deleted:</p> <ul> <li> <p>You can still retrieve the field by calling <code>BatchGetField</code>.</p> </li> <li> <p>You cannot update a deleted field by calling <code>UpdateField</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted fields are not included in the <code>ListFields</code> response.</p> </li> <li> <p>Calling <code>CreateCase</code> with a deleted field throws a <code>ValidationException</code> denoting which field identifiers in the request have been deleted.</p> </li> <li> <p>Calling <code>GetCase</code> with a deleted field identifier returns the deleted field's value if one exists.</p> </li> <li> <p>Calling <code>UpdateCase</code> with a deleted field ID throws a <code>ValidationException</code> if the case does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove (using <code>emptyValue: \{\}</code>) the field's value from the case.</p> </li> <li> <p> <code>GetTemplate</code> does not return field IDs for deleted fields.</p> </li> <li> <p> <code>GetLayout</code> does not return field IDs for deleted fields.</p> </li> <li> <p>Calling <code>SearchCases</code> with the deleted field ID as a filter returns any cases that have a value for the deleted field that matches the filter criteria.</p> </li> <li> <p>Calling <code>SearchCases</code> with a <code>searchTerm</code> value that matches a deleted field's value on a case returns the case in the response.</p> </li> <li> <p>Calling <code>BatchPutFieldOptions</code> with a deleted field ID throw a <code>ValidationException</code>.</p> </li> <li> <p>Calling <code>GetCaseEventConfiguration</code> does not return field IDs for deleted fields.</p> </li> </ul>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -6,7 +6,7 @@ import { AuditEventType, CommentBodyTextType, DomainStatus, FieldNamespace, Fiel
6
6
  export interface EmptyFieldValue {
7
7
  }
8
8
  /**
9
- * <p>Object to store union of Field values.</p> <note> <p>The <code>Summary</code> system field accepts 3000 characters while all other fields accept 500 characters.</p> </note>
9
+ * <p>Object to store union of Field values.</p> <note> <p>The <code>Summary</code> system field accepts up to 3000 characters, while all other fields accept up to 4100 characters. If you use multi-byte characters, the effective character limit may be lower.</p> </note>
10
10
  * @public
11
11
  */
12
12
  export type FieldValueUnion = FieldValueUnion.BooleanValueMember | FieldValueUnion.DoubleValueMember | FieldValueUnion.EmptyValueMember | FieldValueUnion.StringValueMember | FieldValueUnion.UserArnValueMember | FieldValueUnion.$UnknownMember;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectcases",
3
3
  "description": "AWS SDK for JavaScript Connectcases Client for Node.js, Browser and React Native",
4
- "version": "3.994.0",
4
+ "version": "3.996.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connectcases",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.11",
25
- "@aws-sdk/credential-provider-node": "^3.972.10",
24
+ "@aws-sdk/core": "^3.973.12",
25
+ "@aws-sdk/credential-provider-node": "^3.972.11",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.11",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.12",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.994.0",
32
+ "@aws-sdk/util-endpoints": "3.996.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.9",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.11",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
36
  "@smithy/core": "^3.23.2",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",