@aws-sdk/client-customer-profiles 3.210.0 → 3.212.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.
@@ -3081,10 +3081,8 @@ const serializeAws_restJson1Attributes = (input, context) => {
3081
3081
  if (value === null) {
3082
3082
  return acc;
3083
3083
  }
3084
- return {
3085
- ...acc,
3086
- [key]: value,
3087
- };
3084
+ acc[key] = value;
3085
+ return acc;
3088
3086
  }, {});
3089
3087
  };
3090
3088
  const serializeAws_restJson1AttributeSourceIdMap = (input, context) => {
@@ -3092,10 +3090,8 @@ const serializeAws_restJson1AttributeSourceIdMap = (input, context) => {
3092
3090
  if (value === null) {
3093
3091
  return acc;
3094
3092
  }
3095
- return {
3096
- ...acc,
3097
- [key]: value,
3098
- };
3093
+ acc[key] = value;
3094
+ return acc;
3099
3095
  }, {});
3100
3096
  };
3101
3097
  const serializeAws_restJson1AutoMerging = (input, context) => {
@@ -3159,10 +3155,8 @@ const serializeAws_restJson1FieldMap = (input, context) => {
3159
3155
  if (value === null) {
3160
3156
  return acc;
3161
3157
  }
3162
- return {
3163
- ...acc,
3164
- [key]: serializeAws_restJson1ObjectTypeField(value, context),
3165
- };
3158
+ acc[key] = serializeAws_restJson1ObjectTypeField(value, context);
3159
+ return acc;
3166
3160
  }, {});
3167
3161
  };
3168
3162
  const serializeAws_restJson1FieldNameList = (input, context) => {
@@ -3236,10 +3230,8 @@ const serializeAws_restJson1KeyMap = (input, context) => {
3236
3230
  if (value === null) {
3237
3231
  return acc;
3238
3232
  }
3239
- return {
3240
- ...acc,
3241
- [key]: serializeAws_restJson1ObjectTypeKeyList(value, context),
3242
- };
3233
+ acc[key] = serializeAws_restJson1ObjectTypeKeyList(value, context);
3234
+ return acc;
3243
3235
  }, {});
3244
3236
  };
3245
3237
  const serializeAws_restJson1MarketoSourceProperties = (input, context) => {
@@ -3304,10 +3296,8 @@ const serializeAws_restJson1ObjectTypeNames = (input, context) => {
3304
3296
  if (value === null) {
3305
3297
  return acc;
3306
3298
  }
3307
- return {
3308
- ...acc,
3309
- [key]: value,
3310
- };
3299
+ acc[key] = value;
3300
+ return acc;
3311
3301
  }, {});
3312
3302
  };
3313
3303
  const serializeAws_restJson1ProfileIdToBeMergedList = (input, context) => {
@@ -3405,10 +3395,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
3405
3395
  if (value === null) {
3406
3396
  return acc;
3407
3397
  }
3408
- return {
3409
- ...acc,
3410
- [key]: value,
3411
- };
3398
+ acc[key] = value;
3399
+ return acc;
3412
3400
  }, {});
3413
3401
  };
3414
3402
  const serializeAws_restJson1Task = (input, context) => {
@@ -3431,10 +3419,8 @@ const serializeAws_restJson1TaskPropertiesMap = (input, context) => {
3431
3419
  if (value === null) {
3432
3420
  return acc;
3433
3421
  }
3434
- return {
3435
- ...acc,
3436
- [key]: value,
3437
- };
3422
+ acc[key] = value;
3423
+ return acc;
3438
3424
  }, {});
3439
3425
  };
3440
3426
  const serializeAws_restJson1Tasks = (input, context) => {
@@ -3478,10 +3464,8 @@ const serializeAws_restJson1UpdateAttributes = (input, context) => {
3478
3464
  if (value === null) {
3479
3465
  return acc;
3480
3466
  }
3481
- return {
3482
- ...acc,
3483
- [key]: value,
3484
- };
3467
+ acc[key] = value;
3468
+ return acc;
3485
3469
  }, {});
3486
3470
  };
3487
3471
  const serializeAws_restJson1ZendeskSourceProperties = (input, context) => {
@@ -3536,10 +3520,8 @@ const deserializeAws_restJson1Attributes = (output, context) => {
3536
3520
  if (value === null) {
3537
3521
  return acc;
3538
3522
  }
3539
- return {
3540
- ...acc,
3541
- [key]: (0, smithy_client_1.expectString)(value),
3542
- };
3523
+ acc[key] = (0, smithy_client_1.expectString)(value);
3524
+ return acc;
3543
3525
  }, {});
3544
3526
  };
3545
3527
  const deserializeAws_restJson1AutoMerging = (output, context) => {
@@ -3599,10 +3581,8 @@ const deserializeAws_restJson1FieldMap = (output, context) => {
3599
3581
  if (value === null) {
3600
3582
  return acc;
3601
3583
  }
3602
- return {
3603
- ...acc,
3604
- [key]: deserializeAws_restJson1ObjectTypeField(value, context),
3605
- };
3584
+ acc[key] = deserializeAws_restJson1ObjectTypeField(value, context);
3585
+ return acc;
3606
3586
  }, {});
3607
3587
  };
3608
3588
  const deserializeAws_restJson1FieldNameList = (output, context) => {
@@ -3689,10 +3669,8 @@ const deserializeAws_restJson1KeyMap = (output, context) => {
3689
3669
  if (value === null) {
3690
3670
  return acc;
3691
3671
  }
3692
- return {
3693
- ...acc,
3694
- [key]: deserializeAws_restJson1ObjectTypeKeyList(value, context),
3695
- };
3672
+ acc[key] = deserializeAws_restJson1ObjectTypeKeyList(value, context);
3673
+ return acc;
3696
3674
  }, {});
3697
3675
  };
3698
3676
  const deserializeAws_restJson1ListDomainItem = (output, context) => {
@@ -3840,10 +3818,8 @@ const deserializeAws_restJson1ObjectTypeNames = (output, context) => {
3840
3818
  if (value === null) {
3841
3819
  return acc;
3842
3820
  }
3843
- return {
3844
- ...acc,
3845
- [key]: (0, smithy_client_1.expectString)(value),
3846
- };
3821
+ acc[key] = (0, smithy_client_1.expectString)(value);
3822
+ return acc;
3847
3823
  }, {});
3848
3824
  };
3849
3825
  const deserializeAws_restJson1Profile = (output, context) => {
@@ -3967,10 +3943,8 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3967
3943
  if (value === null) {
3968
3944
  return acc;
3969
3945
  }
3970
- return {
3971
- ...acc,
3972
- [key]: (0, smithy_client_1.expectString)(value),
3973
- };
3946
+ acc[key] = (0, smithy_client_1.expectString)(value);
3947
+ return acc;
3974
3948
  }, {});
3975
3949
  };
3976
3950
  const deserializeAws_restJson1WorkflowAttributes = (output, context) => {
@@ -3001,10 +3001,8 @@ const serializeAws_restJson1Attributes = (input, context) => {
3001
3001
  if (value === null) {
3002
3002
  return acc;
3003
3003
  }
3004
- return {
3005
- ...acc,
3006
- [key]: value,
3007
- };
3004
+ acc[key] = value;
3005
+ return acc;
3008
3006
  }, {});
3009
3007
  };
3010
3008
  const serializeAws_restJson1AttributeSourceIdMap = (input, context) => {
@@ -3012,10 +3010,8 @@ const serializeAws_restJson1AttributeSourceIdMap = (input, context) => {
3012
3010
  if (value === null) {
3013
3011
  return acc;
3014
3012
  }
3015
- return {
3016
- ...acc,
3017
- [key]: value,
3018
- };
3013
+ acc[key] = value;
3014
+ return acc;
3019
3015
  }, {});
3020
3016
  };
3021
3017
  const serializeAws_restJson1AutoMerging = (input, context) => {
@@ -3079,10 +3075,8 @@ const serializeAws_restJson1FieldMap = (input, context) => {
3079
3075
  if (value === null) {
3080
3076
  return acc;
3081
3077
  }
3082
- return {
3083
- ...acc,
3084
- [key]: serializeAws_restJson1ObjectTypeField(value, context),
3085
- };
3078
+ acc[key] = serializeAws_restJson1ObjectTypeField(value, context);
3079
+ return acc;
3086
3080
  }, {});
3087
3081
  };
3088
3082
  const serializeAws_restJson1FieldNameList = (input, context) => {
@@ -3156,10 +3150,8 @@ const serializeAws_restJson1KeyMap = (input, context) => {
3156
3150
  if (value === null) {
3157
3151
  return acc;
3158
3152
  }
3159
- return {
3160
- ...acc,
3161
- [key]: serializeAws_restJson1ObjectTypeKeyList(value, context),
3162
- };
3153
+ acc[key] = serializeAws_restJson1ObjectTypeKeyList(value, context);
3154
+ return acc;
3163
3155
  }, {});
3164
3156
  };
3165
3157
  const serializeAws_restJson1MarketoSourceProperties = (input, context) => {
@@ -3224,10 +3216,8 @@ const serializeAws_restJson1ObjectTypeNames = (input, context) => {
3224
3216
  if (value === null) {
3225
3217
  return acc;
3226
3218
  }
3227
- return {
3228
- ...acc,
3229
- [key]: value,
3230
- };
3219
+ acc[key] = value;
3220
+ return acc;
3231
3221
  }, {});
3232
3222
  };
3233
3223
  const serializeAws_restJson1ProfileIdToBeMergedList = (input, context) => {
@@ -3325,10 +3315,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
3325
3315
  if (value === null) {
3326
3316
  return acc;
3327
3317
  }
3328
- return {
3329
- ...acc,
3330
- [key]: value,
3331
- };
3318
+ acc[key] = value;
3319
+ return acc;
3332
3320
  }, {});
3333
3321
  };
3334
3322
  const serializeAws_restJson1Task = (input, context) => {
@@ -3351,10 +3339,8 @@ const serializeAws_restJson1TaskPropertiesMap = (input, context) => {
3351
3339
  if (value === null) {
3352
3340
  return acc;
3353
3341
  }
3354
- return {
3355
- ...acc,
3356
- [key]: value,
3357
- };
3342
+ acc[key] = value;
3343
+ return acc;
3358
3344
  }, {});
3359
3345
  };
3360
3346
  const serializeAws_restJson1Tasks = (input, context) => {
@@ -3398,10 +3384,8 @@ const serializeAws_restJson1UpdateAttributes = (input, context) => {
3398
3384
  if (value === null) {
3399
3385
  return acc;
3400
3386
  }
3401
- return {
3402
- ...acc,
3403
- [key]: value,
3404
- };
3387
+ acc[key] = value;
3388
+ return acc;
3405
3389
  }, {});
3406
3390
  };
3407
3391
  const serializeAws_restJson1ZendeskSourceProperties = (input, context) => {
@@ -3456,10 +3440,8 @@ const deserializeAws_restJson1Attributes = (output, context) => {
3456
3440
  if (value === null) {
3457
3441
  return acc;
3458
3442
  }
3459
- return {
3460
- ...acc,
3461
- [key]: __expectString(value),
3462
- };
3443
+ acc[key] = __expectString(value);
3444
+ return acc;
3463
3445
  }, {});
3464
3446
  };
3465
3447
  const deserializeAws_restJson1AutoMerging = (output, context) => {
@@ -3519,10 +3501,8 @@ const deserializeAws_restJson1FieldMap = (output, context) => {
3519
3501
  if (value === null) {
3520
3502
  return acc;
3521
3503
  }
3522
- return {
3523
- ...acc,
3524
- [key]: deserializeAws_restJson1ObjectTypeField(value, context),
3525
- };
3504
+ acc[key] = deserializeAws_restJson1ObjectTypeField(value, context);
3505
+ return acc;
3526
3506
  }, {});
3527
3507
  };
3528
3508
  const deserializeAws_restJson1FieldNameList = (output, context) => {
@@ -3609,10 +3589,8 @@ const deserializeAws_restJson1KeyMap = (output, context) => {
3609
3589
  if (value === null) {
3610
3590
  return acc;
3611
3591
  }
3612
- return {
3613
- ...acc,
3614
- [key]: deserializeAws_restJson1ObjectTypeKeyList(value, context),
3615
- };
3592
+ acc[key] = deserializeAws_restJson1ObjectTypeKeyList(value, context);
3593
+ return acc;
3616
3594
  }, {});
3617
3595
  };
3618
3596
  const deserializeAws_restJson1ListDomainItem = (output, context) => {
@@ -3760,10 +3738,8 @@ const deserializeAws_restJson1ObjectTypeNames = (output, context) => {
3760
3738
  if (value === null) {
3761
3739
  return acc;
3762
3740
  }
3763
- return {
3764
- ...acc,
3765
- [key]: __expectString(value),
3766
- };
3741
+ acc[key] = __expectString(value);
3742
+ return acc;
3767
3743
  }, {});
3768
3744
  };
3769
3745
  const deserializeAws_restJson1Profile = (output, context) => {
@@ -3887,10 +3863,8 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3887
3863
  if (value === null) {
3888
3864
  return acc;
3889
3865
  }
3890
- return {
3891
- ...acc,
3892
- [key]: __expectString(value),
3893
- };
3866
+ acc[key] = __expectString(value);
3867
+ return acc;
3894
3868
  }, {});
3895
3869
  };
3896
3870
  const deserializeAws_restJson1WorkflowAttributes = (output, context) => {
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.210.0",
4
+ "version": "3.212.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",
@@ -19,36 +19,36 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.210.0",
23
- "@aws-sdk/config-resolver": "3.209.0",
24
- "@aws-sdk/credential-provider-node": "3.210.0",
25
- "@aws-sdk/fetch-http-handler": "3.208.0",
26
- "@aws-sdk/hash-node": "3.208.0",
27
- "@aws-sdk/invalid-dependency": "3.208.0",
28
- "@aws-sdk/middleware-content-length": "3.208.0",
29
- "@aws-sdk/middleware-endpoint": "3.208.0",
30
- "@aws-sdk/middleware-host-header": "3.208.0",
31
- "@aws-sdk/middleware-logger": "3.208.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.208.0",
33
- "@aws-sdk/middleware-retry": "3.209.0",
34
- "@aws-sdk/middleware-serde": "3.208.0",
35
- "@aws-sdk/middleware-signing": "3.208.0",
36
- "@aws-sdk/middleware-stack": "3.208.0",
37
- "@aws-sdk/middleware-user-agent": "3.208.0",
38
- "@aws-sdk/node-config-provider": "3.209.0",
39
- "@aws-sdk/node-http-handler": "3.208.0",
40
- "@aws-sdk/protocol-http": "3.208.0",
41
- "@aws-sdk/smithy-client": "3.209.0",
42
- "@aws-sdk/types": "3.208.0",
43
- "@aws-sdk/url-parser": "3.208.0",
22
+ "@aws-sdk/client-sts": "3.212.0",
23
+ "@aws-sdk/config-resolver": "3.212.0",
24
+ "@aws-sdk/credential-provider-node": "3.212.0",
25
+ "@aws-sdk/fetch-http-handler": "3.212.0",
26
+ "@aws-sdk/hash-node": "3.212.0",
27
+ "@aws-sdk/invalid-dependency": "3.212.0",
28
+ "@aws-sdk/middleware-content-length": "3.212.0",
29
+ "@aws-sdk/middleware-endpoint": "3.212.0",
30
+ "@aws-sdk/middleware-host-header": "3.212.0",
31
+ "@aws-sdk/middleware-logger": "3.212.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.212.0",
33
+ "@aws-sdk/middleware-retry": "3.212.0",
34
+ "@aws-sdk/middleware-serde": "3.212.0",
35
+ "@aws-sdk/middleware-signing": "3.212.0",
36
+ "@aws-sdk/middleware-stack": "3.212.0",
37
+ "@aws-sdk/middleware-user-agent": "3.212.0",
38
+ "@aws-sdk/node-config-provider": "3.212.0",
39
+ "@aws-sdk/node-http-handler": "3.212.0",
40
+ "@aws-sdk/protocol-http": "3.212.0",
41
+ "@aws-sdk/smithy-client": "3.212.0",
42
+ "@aws-sdk/types": "3.212.0",
43
+ "@aws-sdk/url-parser": "3.212.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.209.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.209.0",
49
- "@aws-sdk/util-endpoints": "3.210.0",
50
- "@aws-sdk/util-user-agent-browser": "3.208.0",
51
- "@aws-sdk/util-user-agent-node": "3.209.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.212.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.212.0",
49
+ "@aws-sdk/util-endpoints": "3.212.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.212.0",
51
+ "@aws-sdk/util-user-agent-node": "3.212.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
54
  "tslib": "^2.3.1"