@aws-sdk/client-customer-profiles 3.264.0 → 3.266.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const q = "fn", r = "argv", s = "ref";
5
5
  const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://profile.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://profile.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://profile.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
7
7
  exports.ruleSet = _data;
@@ -3844,12 +3844,14 @@ const deserializeAws_restJson1Profile = (output, context) => {
3844
3844
  FirstName: (0, smithy_client_1.expectString)(output.FirstName),
3845
3845
  FoundByItems: output.FoundByItems != null ? deserializeAws_restJson1foundByList(output.FoundByItems, context) : undefined,
3846
3846
  Gender: (0, smithy_client_1.expectString)(output.Gender),
3847
+ GenderString: (0, smithy_client_1.expectString)(output.GenderString),
3847
3848
  HomePhoneNumber: (0, smithy_client_1.expectString)(output.HomePhoneNumber),
3848
3849
  LastName: (0, smithy_client_1.expectString)(output.LastName),
3849
3850
  MailingAddress: output.MailingAddress != null ? deserializeAws_restJson1Address(output.MailingAddress, context) : undefined,
3850
3851
  MiddleName: (0, smithy_client_1.expectString)(output.MiddleName),
3851
3852
  MobilePhoneNumber: (0, smithy_client_1.expectString)(output.MobilePhoneNumber),
3852
3853
  PartyType: (0, smithy_client_1.expectString)(output.PartyType),
3854
+ PartyTypeString: (0, smithy_client_1.expectString)(output.PartyTypeString),
3853
3855
  PersonalEmailAddress: (0, smithy_client_1.expectString)(output.PersonalEmailAddress),
3854
3856
  PhoneNumber: (0, smithy_client_1.expectString)(output.PhoneNumber),
3855
3857
  ProfileId: (0, smithy_client_1.expectString)(output.ProfileId),
@@ -1,4 +1,4 @@
1
1
  const q = "fn", r = "argv", s = "ref";
2
2
  const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://profile.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://profile.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://profile.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://profile.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
4
4
  export const ruleSet = _data;
@@ -3764,12 +3764,14 @@ const deserializeAws_restJson1Profile = (output, context) => {
3764
3764
  FirstName: __expectString(output.FirstName),
3765
3765
  FoundByItems: output.FoundByItems != null ? deserializeAws_restJson1foundByList(output.FoundByItems, context) : undefined,
3766
3766
  Gender: __expectString(output.Gender),
3767
+ GenderString: __expectString(output.GenderString),
3767
3768
  HomePhoneNumber: __expectString(output.HomePhoneNumber),
3768
3769
  LastName: __expectString(output.LastName),
3769
3770
  MailingAddress: output.MailingAddress != null ? deserializeAws_restJson1Address(output.MailingAddress, context) : undefined,
3770
3771
  MiddleName: __expectString(output.MiddleName),
3771
3772
  MobilePhoneNumber: __expectString(output.MobilePhoneNumber),
3772
3773
  PartyType: __expectString(output.PartyType),
3774
+ PartyTypeString: __expectString(output.PartyTypeString),
3773
3775
  PersonalEmailAddress: __expectString(output.PersonalEmailAddress),
3774
3776
  PhoneNumber: __expectString(output.PhoneNumber),
3775
3777
  ProfileId: __expectString(output.ProfileId),
@@ -992,6 +992,8 @@ export interface CreateProfileRequest {
992
992
  */
993
993
  AdditionalInformation?: string;
994
994
  /**
995
+ * @deprecated
996
+ *
995
997
  * <p>The type of profile used to describe the customer.</p>
996
998
  */
997
999
  PartyType?: PartyType | string;
@@ -1016,6 +1018,8 @@ export interface CreateProfileRequest {
1016
1018
  */
1017
1019
  BirthDate?: string;
1018
1020
  /**
1021
+ * @deprecated
1022
+ *
1019
1023
  * <p>The gender with which the customer identifies. </p>
1020
1024
  */
1021
1025
  Gender?: Gender | string;
@@ -1503,8 +1507,8 @@ export interface GetIntegrationResponse {
1503
1507
  */
1504
1508
  WorkflowId?: string;
1505
1509
  /**
1506
- * <p>Boolean to indicate if the Flow associated with the Integration is created via Appflow
1507
- * console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition</p>
1510
+ * <p>Boolean that shows if the Flow that's associated with the Integration is created in Amazon
1511
+ * Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.</p>
1508
1512
  */
1509
1513
  IsUnstructured?: boolean;
1510
1514
  }
@@ -1893,8 +1897,8 @@ export interface ListIntegrationItem {
1893
1897
  */
1894
1898
  WorkflowId?: string;
1895
1899
  /**
1896
- * <p>Boolean to indicate if the Flow associated with the Integration is created via Appflow
1897
- * console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition</p>
1900
+ * <p>Boolean that shows if the Flow that's associated with the Integration is created in Amazon
1901
+ * Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.</p>
1898
1902
  */
1899
1903
  IsUnstructured?: boolean;
1900
1904
  }
@@ -2495,8 +2499,8 @@ export interface PutIntegrationResponse {
2495
2499
  */
2496
2500
  WorkflowId?: string;
2497
2501
  /**
2498
- * <p>Boolean to indicate if the Flow associated with the Integration is created via Appflow
2499
- * console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition</p>
2502
+ * <p>Boolean that shows if the Flow that's associated with the Integration is created in Amazon
2503
+ * Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.</p>
2500
2504
  */
2501
2505
  IsUnstructured?: boolean;
2502
2506
  }
@@ -2724,6 +2728,8 @@ export interface Profile {
2724
2728
  */
2725
2729
  AdditionalInformation?: string;
2726
2730
  /**
2731
+ * @deprecated
2732
+ *
2727
2733
  * <p>The type of profile used to describe the customer.</p>
2728
2734
  */
2729
2735
  PartyType?: PartyType | string;
@@ -2748,6 +2754,8 @@ export interface Profile {
2748
2754
  */
2749
2755
  BirthDate?: string;
2750
2756
  /**
2757
+ * @deprecated
2758
+ *
2751
2759
  * <p>The gender with which the customer identifies. </p>
2752
2760
  */
2753
2761
  Gender?: Gender | string;
@@ -2826,6 +2834,14 @@ export interface Profile {
2826
2834
  * not included in the <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html">SearchProfiles</a> request.</p>
2827
2835
  */
2828
2836
  FoundByItems?: FoundByKeyValue[];
2837
+ /**
2838
+ * <p>An alternative to PartyType which accepts any string as input.</p>
2839
+ */
2840
+ PartyTypeString?: string;
2841
+ /**
2842
+ * <p>An alternative to Gender which accepts any string as input.</p>
2843
+ */
2844
+ GenderString?: string;
2829
2845
  }
2830
2846
  export interface SearchProfilesResponse {
2831
2847
  /**
@@ -3006,6 +3022,8 @@ export interface UpdateProfileRequest {
3006
3022
  */
3007
3023
  AccountNumber?: string;
3008
3024
  /**
3025
+ * @deprecated
3026
+ *
3009
3027
  * <p>The type of profile used to describe the customer.</p>
3010
3028
  */
3011
3029
  PartyType?: PartyType | string;
@@ -3030,6 +3048,8 @@ export interface UpdateProfileRequest {
3030
3048
  */
3031
3049
  BirthDate?: string;
3032
3050
  /**
3051
+ * @deprecated
3052
+ *
3033
3053
  * <p>The gender with which the customer identifies. </p>
3034
3054
  */
3035
3055
  Gender?: Gender | string;
@@ -952,6 +952,8 @@ export interface Profile {
952
952
  BillingAddress?: Address;
953
953
  Attributes?: Record<string, string>;
954
954
  FoundByItems?: FoundByKeyValue[];
955
+ PartyTypeString?: string;
956
+ GenderString?: string;
955
957
  }
956
958
  export interface SearchProfilesResponse {
957
959
  Items?: Profile[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-customer-profiles",
3
3
  "description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
4
- "version": "3.264.0",
4
+ "version": "3.266.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.264.0",
24
- "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.264.0",
26
- "@aws-sdk/fetch-http-handler": "3.257.0",
27
- "@aws-sdk/hash-node": "3.257.0",
28
- "@aws-sdk/invalid-dependency": "3.257.0",
29
- "@aws-sdk/middleware-content-length": "3.257.0",
30
- "@aws-sdk/middleware-endpoint": "3.264.0",
31
- "@aws-sdk/middleware-host-header": "3.257.0",
32
- "@aws-sdk/middleware-logger": "3.257.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.257.0",
34
- "@aws-sdk/middleware-retry": "3.259.0",
35
- "@aws-sdk/middleware-serde": "3.257.0",
36
- "@aws-sdk/middleware-signing": "3.257.0",
37
- "@aws-sdk/middleware-stack": "3.257.0",
38
- "@aws-sdk/middleware-user-agent": "3.257.0",
39
- "@aws-sdk/node-config-provider": "3.259.0",
40
- "@aws-sdk/node-http-handler": "3.257.0",
41
- "@aws-sdk/protocol-http": "3.257.0",
42
- "@aws-sdk/smithy-client": "3.261.0",
43
- "@aws-sdk/types": "3.257.0",
44
- "@aws-sdk/url-parser": "3.257.0",
23
+ "@aws-sdk/client-sts": "3.266.0",
24
+ "@aws-sdk/config-resolver": "3.266.0",
25
+ "@aws-sdk/credential-provider-node": "3.266.0",
26
+ "@aws-sdk/fetch-http-handler": "3.266.0",
27
+ "@aws-sdk/hash-node": "3.266.0",
28
+ "@aws-sdk/invalid-dependency": "3.266.0",
29
+ "@aws-sdk/middleware-content-length": "3.266.0",
30
+ "@aws-sdk/middleware-endpoint": "3.266.0",
31
+ "@aws-sdk/middleware-host-header": "3.266.0",
32
+ "@aws-sdk/middleware-logger": "3.266.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.266.0",
34
+ "@aws-sdk/middleware-retry": "3.266.0",
35
+ "@aws-sdk/middleware-serde": "3.266.0",
36
+ "@aws-sdk/middleware-signing": "3.266.0",
37
+ "@aws-sdk/middleware-stack": "3.266.0",
38
+ "@aws-sdk/middleware-user-agent": "3.266.0",
39
+ "@aws-sdk/node-config-provider": "3.266.0",
40
+ "@aws-sdk/node-http-handler": "3.266.0",
41
+ "@aws-sdk/protocol-http": "3.266.0",
42
+ "@aws-sdk/smithy-client": "3.266.0",
43
+ "@aws-sdk/types": "3.266.0",
44
+ "@aws-sdk/url-parser": "3.266.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.261.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.261.0",
50
- "@aws-sdk/util-endpoints": "3.257.0",
51
- "@aws-sdk/util-retry": "3.257.0",
52
- "@aws-sdk/util-user-agent-browser": "3.257.0",
53
- "@aws-sdk/util-user-agent-node": "3.259.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.266.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.266.0",
50
+ "@aws-sdk/util-endpoints": "3.266.0",
51
+ "@aws-sdk/util-retry": "3.266.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.266.0",
53
+ "@aws-sdk/util-user-agent-node": "3.266.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },