@gofynd/fdk-client-javascript 1.3.10-beta.2 → 1.3.11-beta.4

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.
Files changed (66) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/Cart/CartApplicationClient.js +28 -28
  4. package/sdk/application/Cart/CartApplicationModel.d.ts +4 -0
  5. package/sdk/application/Cart/CartApplicationModel.js +4 -0
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -30
  7. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  8. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  9. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
  10. package/sdk/application/Content/ContentApplicationClient.js +19 -19
  11. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  12. package/sdk/application/Lead/LeadApplicationClient.js +7 -7
  13. package/sdk/application/Logistic/LogisticApplicationClient.js +5 -5
  14. package/sdk/application/Order/OrderApplicationClient.js +12 -12
  15. package/sdk/application/Payment/PaymentApplicationClient.js +42 -42
  16. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  17. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  18. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  19. package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
  20. package/sdk/application/User/UserApplicationClient.js +40 -40
  21. package/sdk/common/utils.js +1 -1
  22. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +3 -3
  23. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  24. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
  25. package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
  26. package/sdk/platform/Cart/CartPlatformApplicationClient.js +57 -57
  27. package/sdk/platform/Cart/CartPlatformModel.d.ts +89 -1
  28. package/sdk/platform/Cart/CartPlatformModel.js +100 -0
  29. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +64 -64
  30. package/sdk/platform/Catalog/CatalogPlatformClient.js +77 -77
  31. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  32. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +59 -59
  33. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  34. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +14 -14
  35. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
  36. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
  37. package/sdk/platform/Content/ContentPlatformApplicationClient.js +69 -69
  38. package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
  39. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +11 -11
  40. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
  41. package/sdk/platform/Finance/FinancePlatformClient.js +24 -24
  42. package/sdk/platform/Inventory/InventoryPlatformClient.js +12 -12
  43. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +13 -13
  44. package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
  45. package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
  46. package/sdk/platform/Order/OrderPlatformClient.d.ts +10 -0
  47. package/sdk/platform/Order/OrderPlatformClient.js +125 -44
  48. package/sdk/platform/Order/OrderPlatformModel.d.ts +58 -1
  49. package/sdk/platform/Order/OrderPlatformModel.js +72 -0
  50. package/sdk/platform/Order/OrderPlatformValidator.d.ts +15 -1
  51. package/sdk/platform/Order/OrderPlatformValidator.js +14 -0
  52. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
  53. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +42 -42
  54. package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
  55. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  56. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +14 -14
  57. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +18 -18
  58. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  59. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
  60. package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
  61. package/sdk/platform/User/UserPlatformApplicationClient.js +18 -18
  62. package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
  63. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
  64. package/sdk/public/Inventory/InventoryPublicClient.js +6 -6
  65. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  66. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
@@ -76,7 +76,7 @@ class Communication {
76
76
  error: res_error,
77
77
  } = CommunicationPlatformModel.Audience().validate(responseData, {
78
78
  abortEarly: false,
79
- allowUnknown: false,
79
+ allowUnknown: true,
80
80
  });
81
81
 
82
82
  if (res_error) {
@@ -151,7 +151,7 @@ class Communication {
151
151
 
152
152
  const { error: res_error } = Joi.any().validate(responseData, {
153
153
  abortEarly: false,
154
- allowUnknown: false,
154
+ allowUnknown: true,
155
155
  });
156
156
 
157
157
  if (res_error) {
@@ -226,7 +226,7 @@ class Communication {
226
226
 
227
227
  const { error: res_error } = Joi.any().validate(responseData, {
228
228
  abortEarly: false,
229
- allowUnknown: false,
229
+ allowUnknown: true,
230
230
  });
231
231
 
232
232
  if (res_error) {
@@ -301,7 +301,7 @@ class Communication {
301
301
 
302
302
  const { error: res_error } = Joi.any().validate(responseData, {
303
303
  abortEarly: false,
304
- allowUnknown: false,
304
+ allowUnknown: true,
305
305
  });
306
306
 
307
307
  if (res_error) {
@@ -382,7 +382,7 @@ class Communication {
382
382
  error: res_error,
383
383
  } = CommunicationPlatformModel.Campaign().validate(responseData, {
384
384
  abortEarly: false,
385
- allowUnknown: false,
385
+ allowUnknown: true,
386
386
  });
387
387
 
388
388
  if (res_error) {
@@ -463,7 +463,7 @@ class Communication {
463
463
  error: res_error,
464
464
  } = CommunicationPlatformModel.EmailProvider().validate(responseData, {
465
465
  abortEarly: false,
466
- allowUnknown: false,
466
+ allowUnknown: true,
467
467
  });
468
468
 
469
469
  if (res_error) {
@@ -544,7 +544,7 @@ class Communication {
544
544
  error: res_error,
545
545
  } = CommunicationPlatformModel.EmailTemplate().validate(responseData, {
546
546
  abortEarly: false,
547
- allowUnknown: false,
547
+ allowUnknown: true,
548
548
  });
549
549
 
550
550
  if (res_error) {
@@ -623,7 +623,7 @@ class Communication {
623
623
 
624
624
  const { error: res_error } = Joi.any().validate(responseData, {
625
625
  abortEarly: false,
626
- allowUnknown: false,
626
+ allowUnknown: true,
627
627
  });
628
628
 
629
629
  if (res_error) {
@@ -704,7 +704,7 @@ class Communication {
704
704
  error: res_error,
705
705
  } = CommunicationPlatformModel.SmsTemplate().validate(responseData, {
706
706
  abortEarly: false,
707
- allowUnknown: false,
707
+ allowUnknown: true,
708
708
  });
709
709
 
710
710
  if (res_error) {
@@ -785,7 +785,7 @@ class Communication {
785
785
  error: res_error,
786
786
  } = CommunicationPlatformModel.GenericDelete().validate(responseData, {
787
787
  abortEarly: false,
788
- allowUnknown: false,
788
+ allowUnknown: true,
789
789
  });
790
790
 
791
791
  if (res_error) {
@@ -866,7 +866,7 @@ class Communication {
866
866
  error: res_error,
867
867
  } = CommunicationPlatformModel.GenericDelete().validate(responseData, {
868
868
  abortEarly: false,
869
- allowUnknown: false,
869
+ allowUnknown: true,
870
870
  });
871
871
 
872
872
  if (res_error) {
@@ -947,7 +947,7 @@ class Communication {
947
947
  error: res_error,
948
948
  } = CommunicationPlatformModel.GenericDelete().validate(responseData, {
949
949
  abortEarly: false,
950
- allowUnknown: false,
950
+ allowUnknown: true,
951
951
  });
952
952
 
953
953
  if (res_error) {
@@ -1028,7 +1028,7 @@ class Communication {
1028
1028
  error: res_error,
1029
1029
  } = CommunicationPlatformModel.GenericDelete().validate(responseData, {
1030
1030
  abortEarly: false,
1031
- allowUnknown: false,
1031
+ allowUnknown: true,
1032
1032
  });
1033
1033
 
1034
1034
  if (res_error) {
@@ -1109,7 +1109,7 @@ class Communication {
1109
1109
  error: res_error,
1110
1110
  } = CommunicationPlatformModel.GenericDelete().validate(responseData, {
1111
1111
  abortEarly: false,
1112
- allowUnknown: false,
1112
+ allowUnknown: true,
1113
1113
  });
1114
1114
 
1115
1115
  if (res_error) {
@@ -1186,7 +1186,7 @@ class Communication {
1186
1186
  error: res_error,
1187
1187
  } = CommunicationPlatformModel.AppProvider().validate(responseData, {
1188
1188
  abortEarly: false,
1189
- allowUnknown: false,
1189
+ allowUnknown: true,
1190
1190
  });
1191
1191
 
1192
1192
  if (res_error) {
@@ -1267,7 +1267,7 @@ class Communication {
1267
1267
  error: res_error,
1268
1268
  } = CommunicationPlatformModel.Audience().validate(responseData, {
1269
1269
  abortEarly: false,
1270
- allowUnknown: false,
1270
+ allowUnknown: true,
1271
1271
  });
1272
1272
 
1273
1273
  if (res_error) {
@@ -1355,7 +1355,7 @@ class Communication {
1355
1355
  error: res_error,
1356
1356
  } = CommunicationPlatformModel.Audiences().validate(responseData, {
1357
1357
  abortEarly: false,
1358
- allowUnknown: false,
1358
+ allowUnknown: true,
1359
1359
  });
1360
1360
 
1361
1361
  if (res_error) {
@@ -1467,7 +1467,7 @@ class Communication {
1467
1467
 
1468
1468
  const { error: res_error } = Joi.any().validate(responseData, {
1469
1469
  abortEarly: false,
1470
- allowUnknown: false,
1470
+ allowUnknown: true,
1471
1471
  });
1472
1472
 
1473
1473
  if (res_error) {
@@ -1546,7 +1546,7 @@ class Communication {
1546
1546
 
1547
1547
  const { error: res_error } = Joi.any().validate(responseData, {
1548
1548
  abortEarly: false,
1549
- allowUnknown: false,
1549
+ allowUnknown: true,
1550
1550
  });
1551
1551
 
1552
1552
  if (res_error) {
@@ -1627,7 +1627,7 @@ class Communication {
1627
1627
  error: res_error,
1628
1628
  } = CommunicationPlatformModel.Campaign().validate(responseData, {
1629
1629
  abortEarly: false,
1630
- allowUnknown: false,
1630
+ allowUnknown: true,
1631
1631
  });
1632
1632
 
1633
1633
  if (res_error) {
@@ -1715,7 +1715,7 @@ class Communication {
1715
1715
  error: res_error,
1716
1716
  } = CommunicationPlatformModel.Campaigns().validate(responseData, {
1717
1717
  abortEarly: false,
1718
- allowUnknown: false,
1718
+ allowUnknown: true,
1719
1719
  });
1720
1720
 
1721
1721
  if (res_error) {
@@ -1839,7 +1839,7 @@ class Communication {
1839
1839
  error: res_error,
1840
1840
  } = CommunicationPlatformModel.Logs().validate(responseData, {
1841
1841
  abortEarly: false,
1842
- allowUnknown: false,
1842
+ allowUnknown: true,
1843
1843
  });
1844
1844
 
1845
1845
  if (res_error) {
@@ -1956,7 +1956,7 @@ class Communication {
1956
1956
 
1957
1957
  const { error: res_error } = Joi.array()
1958
1958
  .items(CommunicationPlatformModel.DefaultSmsProviders())
1959
- .validate(responseData, { abortEarly: false, allowUnknown: false });
1959
+ .validate(responseData, { abortEarly: false, allowUnknown: true });
1960
1960
 
1961
1961
  if (res_error) {
1962
1962
  if (this.config.options.strictResponseCheck === true) {
@@ -2031,7 +2031,7 @@ class Communication {
2031
2031
 
2032
2032
  const { error: res_error } = Joi.array()
2033
2033
  .items(CommunicationPlatformModel.DummyDatasources())
2034
- .validate(responseData, { abortEarly: false, allowUnknown: false });
2034
+ .validate(responseData, { abortEarly: false, allowUnknown: true });
2035
2035
 
2036
2036
  if (res_error) {
2037
2037
  if (this.config.options.strictResponseCheck === true) {
@@ -2112,7 +2112,7 @@ class Communication {
2112
2112
  error: res_error,
2113
2113
  } = CommunicationPlatformModel.DummyDatasourcesMeta().validate(
2114
2114
  responseData,
2115
- { abortEarly: false, allowUnknown: false }
2115
+ { abortEarly: false, allowUnknown: true }
2116
2116
  );
2117
2117
 
2118
2118
  if (res_error) {
@@ -2193,7 +2193,7 @@ class Communication {
2193
2193
  error: res_error,
2194
2194
  } = CommunicationPlatformModel.EmailProvider().validate(responseData, {
2195
2195
  abortEarly: false,
2196
- allowUnknown: false,
2196
+ allowUnknown: true,
2197
2197
  });
2198
2198
 
2199
2199
  if (res_error) {
@@ -2281,7 +2281,7 @@ class Communication {
2281
2281
  error: res_error,
2282
2282
  } = CommunicationPlatformModel.EmailProviders().validate(responseData, {
2283
2283
  abortEarly: false,
2284
- allowUnknown: false,
2284
+ allowUnknown: true,
2285
2285
  });
2286
2286
 
2287
2287
  if (res_error) {
@@ -2400,7 +2400,7 @@ class Communication {
2400
2400
  error: res_error,
2401
2401
  } = CommunicationPlatformModel.EmailTemplate().validate(responseData, {
2402
2402
  abortEarly: false,
2403
- allowUnknown: false,
2403
+ allowUnknown: true,
2404
2404
  });
2405
2405
 
2406
2406
  if (res_error) {
@@ -2488,7 +2488,7 @@ class Communication {
2488
2488
  error: res_error,
2489
2489
  } = CommunicationPlatformModel.EmailTemplates().validate(responseData, {
2490
2490
  abortEarly: false,
2491
- allowUnknown: false,
2491
+ allowUnknown: true,
2492
2492
  });
2493
2493
 
2494
2494
  if (res_error) {
@@ -2615,7 +2615,7 @@ class Communication {
2615
2615
  error: res_error,
2616
2616
  } = CommunicationPlatformModel.EventSubscriptions().validate(responseData, {
2617
2617
  abortEarly: false,
2618
- allowUnknown: false,
2618
+ allowUnknown: true,
2619
2619
  });
2620
2620
 
2621
2621
  if (res_error) {
@@ -2730,7 +2730,7 @@ class Communication {
2730
2730
  error: res_error,
2731
2731
  } = CommunicationPlatformModel.GlobalProviders().validate(responseData, {
2732
2732
  abortEarly: false,
2733
- allowUnknown: false,
2733
+ allowUnknown: true,
2734
2734
  });
2735
2735
 
2736
2736
  if (res_error) {
@@ -2809,7 +2809,7 @@ class Communication {
2809
2809
  error: res_error,
2810
2810
  } = CommunicationPlatformModel.GlobalVariablesGetResponse().validate(
2811
2811
  responseData,
2812
- { abortEarly: false, allowUnknown: false }
2812
+ { abortEarly: false, allowUnknown: true }
2813
2813
  );
2814
2814
 
2815
2815
  if (res_error) {
@@ -2895,7 +2895,7 @@ class Communication {
2895
2895
  error: res_error,
2896
2896
  } = CommunicationPlatformModel.JobLogs().validate(responseData, {
2897
2897
  abortEarly: false,
2898
- allowUnknown: false,
2898
+ allowUnknown: true,
2899
2899
  });
2900
2900
 
2901
2901
  if (res_error) {
@@ -3014,7 +3014,7 @@ class Communication {
3014
3014
  error: res_error,
3015
3015
  } = CommunicationPlatformModel.Jobs().validate(responseData, {
3016
3016
  abortEarly: false,
3017
- allowUnknown: false,
3017
+ allowUnknown: true,
3018
3018
  });
3019
3019
 
3020
3020
  if (res_error) {
@@ -3128,7 +3128,7 @@ class Communication {
3128
3128
  error: res_error,
3129
3129
  } = CommunicationPlatformModel.GetNRecordsCsvRes().validate(responseData, {
3130
3130
  abortEarly: false,
3131
- allowUnknown: false,
3131
+ allowUnknown: true,
3132
3132
  });
3133
3133
 
3134
3134
  if (res_error) {
@@ -3205,7 +3205,7 @@ class Communication {
3205
3205
  error: res_error,
3206
3206
  } = CommunicationPlatformModel.GetNRecordsCsvRes().validate(responseData, {
3207
3207
  abortEarly: false,
3208
- allowUnknown: false,
3208
+ allowUnknown: true,
3209
3209
  });
3210
3210
 
3211
3211
  if (res_error) {
@@ -3284,7 +3284,7 @@ class Communication {
3284
3284
 
3285
3285
  const { error: res_error } = Joi.any().validate(responseData, {
3286
3286
  abortEarly: false,
3287
- allowUnknown: false,
3287
+ allowUnknown: true,
3288
3288
  });
3289
3289
 
3290
3290
  if (res_error) {
@@ -3370,7 +3370,7 @@ class Communication {
3370
3370
 
3371
3371
  const { error: res_error } = Joi.any().validate(responseData, {
3372
3372
  abortEarly: false,
3373
- allowUnknown: false,
3373
+ allowUnknown: true,
3374
3374
  });
3375
3375
 
3376
3376
  if (res_error) {
@@ -3451,7 +3451,7 @@ class Communication {
3451
3451
  error: res_error,
3452
3452
  } = CommunicationPlatformModel.SmsTemplate().validate(responseData, {
3453
3453
  abortEarly: false,
3454
- allowUnknown: false,
3454
+ allowUnknown: true,
3455
3455
  });
3456
3456
 
3457
3457
  if (res_error) {
@@ -3539,7 +3539,7 @@ class Communication {
3539
3539
  error: res_error,
3540
3540
  } = CommunicationPlatformModel.SmsTemplates().validate(responseData, {
3541
3541
  abortEarly: false,
3542
- allowUnknown: false,
3542
+ allowUnknown: true,
3543
3543
  });
3544
3544
 
3545
3545
  if (res_error) {
@@ -3653,7 +3653,7 @@ class Communication {
3653
3653
  error: res_error,
3654
3654
  } = CommunicationPlatformModel.GetStats().validate(responseData, {
3655
3655
  abortEarly: false,
3656
- allowUnknown: false,
3656
+ allowUnknown: true,
3657
3657
  });
3658
3658
 
3659
3659
  if (res_error) {
@@ -3738,7 +3738,7 @@ class Communication {
3738
3738
  error: res_error,
3739
3739
  } = CommunicationPlatformModel.EmailTemplates().validate(responseData, {
3740
3740
  abortEarly: false,
3741
- allowUnknown: false,
3741
+ allowUnknown: true,
3742
3742
  });
3743
3743
 
3744
3744
  if (res_error) {
@@ -3858,7 +3858,7 @@ class Communication {
3858
3858
  error: res_error,
3859
3859
  } = CommunicationPlatformModel.SmsTemplates().validate(responseData, {
3860
3860
  abortEarly: false,
3861
- allowUnknown: false,
3861
+ allowUnknown: true,
3862
3862
  });
3863
3863
 
3864
3864
  if (res_error) {
@@ -3968,7 +3968,7 @@ class Communication {
3968
3968
 
3969
3969
  const { error: res_error } = Joi.any().validate(responseData, {
3970
3970
  abortEarly: false,
3971
- allowUnknown: false,
3971
+ allowUnknown: true,
3972
3972
  });
3973
3973
 
3974
3974
  if (res_error) {
@@ -4046,7 +4046,7 @@ class Communication {
4046
4046
  error: res_error,
4047
4047
  } = CommunicationPlatformModel.SystemEmailTemplates().validate(
4048
4048
  responseData,
4049
- { abortEarly: false, allowUnknown: false }
4049
+ { abortEarly: false, allowUnknown: true }
4050
4050
  );
4051
4051
 
4052
4052
  if (res_error) {
@@ -4122,7 +4122,7 @@ class Communication {
4122
4122
 
4123
4123
  const { error: res_error } = Joi.array()
4124
4124
  .items(CommunicationPlatformModel.SystemSmsTemplates())
4125
- .validate(responseData, { abortEarly: false, allowUnknown: false });
4125
+ .validate(responseData, { abortEarly: false, allowUnknown: true });
4126
4126
 
4127
4127
  if (res_error) {
4128
4128
  if (this.config.options.strictResponseCheck === true) {
@@ -4204,7 +4204,7 @@ class Communication {
4204
4204
  error: res_error,
4205
4205
  } = CommunicationPlatformModel.GlobalVariablesPostResponse().validate(
4206
4206
  responseData,
4207
- { abortEarly: false, allowUnknown: false }
4207
+ { abortEarly: false, allowUnknown: true }
4208
4208
  );
4209
4209
 
4210
4210
  if (res_error) {
@@ -4285,7 +4285,7 @@ class Communication {
4285
4285
  error: res_error,
4286
4286
  } = CommunicationPlatformModel.EngineResponse().validate(responseData, {
4287
4287
  abortEarly: false,
4288
- allowUnknown: false,
4288
+ allowUnknown: true,
4289
4289
  });
4290
4290
 
4291
4291
  if (res_error) {
@@ -4366,7 +4366,7 @@ class Communication {
4366
4366
  error: res_error,
4367
4367
  } = CommunicationPlatformModel.EngineResponse().validate(responseData, {
4368
4368
  abortEarly: false,
4369
- allowUnknown: false,
4369
+ allowUnknown: true,
4370
4370
  });
4371
4371
 
4372
4372
  if (res_error) {
@@ -4445,7 +4445,7 @@ class Communication {
4445
4445
  error: res_error,
4446
4446
  } = CommunicationPlatformModel.SendOtpCommsRes().validate(responseData, {
4447
4447
  abortEarly: false,
4448
- allowUnknown: false,
4448
+ allowUnknown: true,
4449
4449
  });
4450
4450
 
4451
4451
  if (res_error) {
@@ -4527,7 +4527,7 @@ class Communication {
4527
4527
  error: res_error,
4528
4528
  } = CommunicationPlatformModel.TriggerJobResponse().validate(responseData, {
4529
4529
  abortEarly: false,
4530
- allowUnknown: false,
4530
+ allowUnknown: true,
4531
4531
  });
4532
4532
 
4533
4533
  if (res_error) {
@@ -4608,7 +4608,7 @@ class Communication {
4608
4608
  error: res_error,
4609
4609
  } = CommunicationPlatformModel.AppProvider().validate(responseData, {
4610
4610
  abortEarly: false,
4611
- allowUnknown: false,
4611
+ allowUnknown: true,
4612
4612
  });
4613
4613
 
4614
4614
  if (res_error) {
@@ -4691,7 +4691,7 @@ class Communication {
4691
4691
  error: res_error,
4692
4692
  } = CommunicationPlatformModel.Audience().validate(responseData, {
4693
4693
  abortEarly: false,
4694
- allowUnknown: false,
4694
+ allowUnknown: true,
4695
4695
  });
4696
4696
 
4697
4697
  if (res_error) {
@@ -4774,7 +4774,7 @@ class Communication {
4774
4774
  error: res_error,
4775
4775
  } = CommunicationPlatformModel.Campaign().validate(responseData, {
4776
4776
  abortEarly: false,
4777
- allowUnknown: false,
4777
+ allowUnknown: true,
4778
4778
  });
4779
4779
 
4780
4780
  if (res_error) {
@@ -4857,7 +4857,7 @@ class Communication {
4857
4857
  error: res_error,
4858
4858
  } = CommunicationPlatformModel.EmailProvider().validate(responseData, {
4859
4859
  abortEarly: false,
4860
- allowUnknown: false,
4860
+ allowUnknown: true,
4861
4861
  });
4862
4862
 
4863
4863
  if (res_error) {
@@ -4940,7 +4940,7 @@ class Communication {
4940
4940
  error: res_error,
4941
4941
  } = CommunicationPlatformModel.EmailTemplate().validate(responseData, {
4942
4942
  abortEarly: false,
4943
- allowUnknown: false,
4943
+ allowUnknown: true,
4944
4944
  });
4945
4945
 
4946
4946
  if (res_error) {
@@ -5021,7 +5021,7 @@ class Communication {
5021
5021
 
5022
5022
  const { error: res_error } = Joi.any().validate(responseData, {
5023
5023
  abortEarly: false,
5024
- allowUnknown: false,
5024
+ allowUnknown: true,
5025
5025
  });
5026
5026
 
5027
5027
  if (res_error) {
@@ -5104,7 +5104,7 @@ class Communication {
5104
5104
  error: res_error,
5105
5105
  } = CommunicationPlatformModel.SmsTemplate().validate(responseData, {
5106
5106
  abortEarly: false,
5107
- allowUnknown: false,
5107
+ allowUnknown: true,
5108
5108
  });
5109
5109
 
5110
5110
  if (res_error) {
@@ -5185,7 +5185,7 @@ class Communication {
5185
5185
  error: res_error,
5186
5186
  } = CommunicationPlatformModel.VerifyOtpCommsSuccessRes().validate(
5187
5187
  responseData,
5188
- { abortEarly: false, allowUnknown: false }
5188
+ { abortEarly: false, allowUnknown: true }
5189
5189
  );
5190
5190
 
5191
5191
  if (res_error) {
@@ -85,7 +85,7 @@ class Communication {
85
85
  error: res_error,
86
86
  } = CommunicationPlatformModel.SystemNotifications().validate(
87
87
  responseData,
88
- { abortEarly: false, allowUnknown: false }
88
+ { abortEarly: false, allowUnknown: true }
89
89
  );
90
90
 
91
91
  if (res_error) {
@@ -74,7 +74,7 @@ class CompanyProfile {
74
74
  error: res_error,
75
75
  } = CompanyProfilePlatformModel.GetCompanyProfileSerializerResponse().validate(
76
76
  responseData,
77
- { abortEarly: false, allowUnknown: false }
77
+ { abortEarly: false, allowUnknown: true }
78
78
  );
79
79
 
80
80
  if (res_error) {
@@ -154,7 +154,7 @@ class CompanyProfile {
154
154
  error: res_error,
155
155
  } = CompanyProfilePlatformModel.ProfileSuccessResponse().validate(
156
156
  responseData,
157
- { abortEarly: false, allowUnknown: false }
157
+ { abortEarly: false, allowUnknown: true }
158
158
  );
159
159
 
160
160
  if (res_error) {
@@ -238,7 +238,7 @@ class CompanyProfile {
238
238
  error: res_error,
239
239
  } = CompanyProfilePlatformModel.ProfileSuccessResponse().validate(
240
240
  responseData,
241
- { abortEarly: false, allowUnknown: false }
241
+ { abortEarly: false, allowUnknown: true }
242
242
  );
243
243
 
244
244
  if (res_error) {
@@ -318,7 +318,7 @@ class CompanyProfile {
318
318
  error: res_error,
319
319
  } = CompanyProfilePlatformModel.ProfileSuccessResponse().validate(
320
320
  responseData,
321
- { abortEarly: false, allowUnknown: false }
321
+ { abortEarly: false, allowUnknown: true }
322
322
  );
323
323
 
324
324
  if (res_error) {
@@ -400,7 +400,7 @@ class CompanyProfile {
400
400
  error: res_error,
401
401
  } = CompanyProfilePlatformModel.ProfileSuccessResponse().validate(
402
402
  responseData,
403
- { abortEarly: false, allowUnknown: false }
403
+ { abortEarly: false, allowUnknown: true }
404
404
  );
405
405
 
406
406
  if (res_error) {
@@ -482,7 +482,7 @@ class CompanyProfile {
482
482
  error: res_error,
483
483
  } = CompanyProfilePlatformModel.ProfileSuccessResponse().validate(
484
484
  responseData,
485
- { abortEarly: false, allowUnknown: false }
485
+ { abortEarly: false, allowUnknown: true }
486
486
  );
487
487
 
488
488
  if (res_error) {
@@ -563,7 +563,7 @@ class CompanyProfile {
563
563
  error: res_error,
564
564
  } = CompanyProfilePlatformModel.GetBrandResponseSerializer().validate(
565
565
  responseData,
566
- { abortEarly: false, allowUnknown: false }
566
+ { abortEarly: false, allowUnknown: true }
567
567
  );
568
568
 
569
569
  if (res_error) {
@@ -651,7 +651,7 @@ class CompanyProfile {
651
651
  error: res_error,
652
652
  } = CompanyProfilePlatformModel.CompanyBrandListSerializer().validate(
653
653
  responseData,
654
- { abortEarly: false, allowUnknown: false }
654
+ { abortEarly: false, allowUnknown: true }
655
655
  );
656
656
 
657
657
  if (res_error) {
@@ -759,7 +759,7 @@ class CompanyProfile {
759
759
  error: res_error,
760
760
  } = CompanyProfilePlatformModel.MetricsSerializer().validate(responseData, {
761
761
  abortEarly: false,
762
- allowUnknown: false,
762
+ allowUnknown: true,
763
763
  });
764
764
 
765
765
  if (res_error) {
@@ -841,7 +841,7 @@ class CompanyProfile {
841
841
  error: res_error,
842
842
  } = CompanyProfilePlatformModel.GetLocationSerializer().validate(
843
843
  responseData,
844
- { abortEarly: false, allowUnknown: false }
844
+ { abortEarly: false, allowUnknown: true }
845
845
  );
846
846
 
847
847
  if (res_error) {
@@ -920,7 +920,7 @@ class CompanyProfile {
920
920
  error: res_error,
921
921
  } = CompanyProfilePlatformModel.StoreTagsResponseSchema().validate(
922
922
  responseData,
923
- { abortEarly: false, allowUnknown: false }
923
+ { abortEarly: false, allowUnknown: true }
924
924
  );
925
925
 
926
926
  if (res_error) {
@@ -1018,7 +1018,7 @@ class CompanyProfile {
1018
1018
  error: res_error,
1019
1019
  } = CompanyProfilePlatformModel.LocationListSerializer().validate(
1020
1020
  responseData,
1021
- { abortEarly: false, allowUnknown: false }
1021
+ { abortEarly: false, allowUnknown: true }
1022
1022
  );
1023
1023
 
1024
1024
  if (res_error) {
@@ -1136,7 +1136,7 @@ class CompanyProfile {
1136
1136
  error: res_error,
1137
1137
  } = CompanyProfilePlatformModel.ProfileSuccessResponse().validate(
1138
1138
  responseData,
1139
- { abortEarly: false, allowUnknown: false }
1139
+ { abortEarly: false, allowUnknown: true }
1140
1140
  );
1141
1141
 
1142
1142
  if (res_error) {
@@ -1218,7 +1218,7 @@ class CompanyProfile {
1218
1218
  error: res_error,
1219
1219
  } = CompanyProfilePlatformModel.ProfileSuccessResponse().validate(
1220
1220
  responseData,
1221
- { abortEarly: false, allowUnknown: false }
1221
+ { abortEarly: false, allowUnknown: true }
1222
1222
  );
1223
1223
 
1224
1224
  if (res_error) {