@gofynd/fdk-client-javascript 1.0.0 → 1.0.1
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/documentation/application/CATALOG.md +371 -371
- package/documentation/application/ORDER.md +272 -272
- package/documentation/application/PAYMENT.md +269 -269
- package/documentation/platform/CATALOG.md +1678 -1664
- package/documentation/platform/COMPANYPROFILE.md +201 -201
- package/documentation/platform/ORDER.md +1442 -1323
- package/documentation/platform/PAYMENT.md +88 -88
- package/index.js +7 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +302 -0
- package/sdk/application/Cart/CartApplicationValidator.js +1 -0
- package/sdk/application/Catalog/CatalogApplicationClient.js +378 -0
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +17 -17
- package/sdk/application/Catalog/CatalogApplicationModel.js +500 -500
- package/sdk/application/Catalog/CatalogApplicationValidator.js +1 -0
- package/sdk/application/Common/CommonApplicationClient.js +22 -0
- package/sdk/application/Common/CommonApplicationValidator.js +1 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +41 -0
- package/sdk/application/Communication/CommunicationApplicationValidator.js +1 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +200 -0
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
- package/sdk/application/Content/ContentApplicationClient.js +215 -0
- package/sdk/application/Content/ContentApplicationValidator.js +1 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +33 -0
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +1 -0
- package/sdk/application/Lead/LeadApplicationClient.js +81 -0
- package/sdk/application/Lead/LeadApplicationValidator.js +1 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +44 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.js +1 -0
- package/sdk/application/Order/OrderApplicationClient.js +146 -0
- package/sdk/application/Order/OrderApplicationModel.d.ts +20 -20
- package/sdk/application/Order/OrderApplicationModel.js +329 -329
- package/sdk/application/Order/OrderApplicationValidator.js +1 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +528 -0
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationModel.js +391 -391
- package/sdk/application/Payment/PaymentApplicationValidator.js +1 -0
- package/sdk/application/PosCart/PosCartApplicationClient.js +329 -0
- package/sdk/application/PosCart/PosCartApplicationValidator.js +1 -0
- package/sdk/application/Rewards/RewardsApplicationClient.js +81 -0
- package/sdk/application/Rewards/RewardsApplicationValidator.js +1 -0
- package/sdk/application/Share/ShareApplicationClient.js +87 -0
- package/sdk/application/Share/ShareApplicationValidator.js +1 -0
- package/sdk/application/Theme/ThemeApplicationClient.js +44 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +1 -0
- package/sdk/application/User/UserApplicationClient.js +405 -0
- package/sdk/application/User/UserApplicationValidator.js +1 -0
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +114 -0
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +58 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +46 -0
- package/sdk/platform/Billing/BillingPlatformClient.js +160 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +246 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +29 -29
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +839 -48
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +9 -9
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +54 -54
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1149 -96
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +58 -57
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1626 -1614
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +6 -6
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +20 -20
- package/sdk/platform/Common/CommonPlatformClient.js +26 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +587 -0
- package/sdk/platform/Communication/CommunicationPlatformClient.js +15 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +179 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +11 -11
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +269 -269
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +382 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +282 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +866 -0
- package/sdk/platform/Discount/DiscountPlatformClient.js +152 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +54 -0
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +76 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.js +161 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +162 -0
- package/sdk/platform/Lead/LeadPlatformClient.js +140 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +55 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +15 -6
- package/sdk/platform/Order/OrderPlatformClient.js +674 -15
- package/sdk/platform/Order/OrderPlatformModel.d.ts +67 -60
- package/sdk/platform/Order/OrderPlatformModel.js +1559 -1623
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +10 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +26 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +165 -0
- package/sdk/platform/Payment/PaymentPlatformClient.js +139 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +137 -137
- package/sdk/platform/PlatformApplicationClient.d.ts +2217 -2243
- package/sdk/platform/PlatformApplicationClient.js +2514 -2524
- package/sdk/platform/PlatformClient.d.ts +2217 -2243
- package/sdk/platform/PlatformClient.js +2514 -2524
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +169 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.js +53 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +293 -0
- package/sdk/platform/User/UserPlatformApplicationClient.js +145 -0
- package/sdk/platform/Webhook/WebhookPlatformClient.js +90 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.js +25 -0
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +3 -1
- package/sdk/public/Inventory/InventoryPublicClient.js +75 -0
- package/sdk/public/Inventory/InventoryPublicValidator.js +3 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +29 -0
- package/sdk/public/Webhook/WebhookPublicValidator.js +3 -1
|
@@ -30,6 +30,20 @@ class Communication {
|
|
|
30
30
|
return Promise.reject(new FDKClientValidationError(error));
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
// Showing warrnings if extra unknown parameters are found
|
|
34
|
+
const { error: warrning } = CommunicationValidator.getCampaigns().validate(
|
|
35
|
+
{
|
|
36
|
+
pageNo,
|
|
37
|
+
pageSize,
|
|
38
|
+
sort,
|
|
39
|
+
},
|
|
40
|
+
{ abortEarly: false, allowUnknown: false }
|
|
41
|
+
);
|
|
42
|
+
if (warrning) {
|
|
43
|
+
console.log("Parameter Validation warrnings for getCampaigns");
|
|
44
|
+
console.log(warrning);
|
|
45
|
+
}
|
|
46
|
+
|
|
33
47
|
const query_params = {};
|
|
34
48
|
query_params["page_no"] = pageNo;
|
|
35
49
|
query_params["page_size"] = pageSize;
|
|
@@ -93,6 +107,20 @@ class Communication {
|
|
|
93
107
|
return Promise.reject(new FDKClientValidationError(error));
|
|
94
108
|
}
|
|
95
109
|
|
|
110
|
+
// Showing warrnings if extra unknown parameters are found
|
|
111
|
+
const {
|
|
112
|
+
error: warrning,
|
|
113
|
+
} = CommunicationValidator.createCampaign().validate(
|
|
114
|
+
{
|
|
115
|
+
body,
|
|
116
|
+
},
|
|
117
|
+
{ abortEarly: false, allowUnknown: false }
|
|
118
|
+
);
|
|
119
|
+
if (warrning) {
|
|
120
|
+
console.log("Parameter Validation warrnings for createCampaign");
|
|
121
|
+
console.log(warrning);
|
|
122
|
+
}
|
|
123
|
+
|
|
96
124
|
const query_params = {};
|
|
97
125
|
|
|
98
126
|
return PlatformAPIClient.execute(
|
|
@@ -121,6 +149,20 @@ class Communication {
|
|
|
121
149
|
return Promise.reject(new FDKClientValidationError(error));
|
|
122
150
|
}
|
|
123
151
|
|
|
152
|
+
// Showing warrnings if extra unknown parameters are found
|
|
153
|
+
const {
|
|
154
|
+
error: warrning,
|
|
155
|
+
} = CommunicationValidator.getCampaignById().validate(
|
|
156
|
+
{
|
|
157
|
+
id,
|
|
158
|
+
},
|
|
159
|
+
{ abortEarly: false, allowUnknown: false }
|
|
160
|
+
);
|
|
161
|
+
if (warrning) {
|
|
162
|
+
console.log("Parameter Validation warrnings for getCampaignById");
|
|
163
|
+
console.log(warrning);
|
|
164
|
+
}
|
|
165
|
+
|
|
124
166
|
const query_params = {};
|
|
125
167
|
|
|
126
168
|
return PlatformAPIClient.execute(
|
|
@@ -151,6 +193,21 @@ class Communication {
|
|
|
151
193
|
return Promise.reject(new FDKClientValidationError(error));
|
|
152
194
|
}
|
|
153
195
|
|
|
196
|
+
// Showing warrnings if extra unknown parameters are found
|
|
197
|
+
const {
|
|
198
|
+
error: warrning,
|
|
199
|
+
} = CommunicationValidator.updateCampaignById().validate(
|
|
200
|
+
{
|
|
201
|
+
id,
|
|
202
|
+
body,
|
|
203
|
+
},
|
|
204
|
+
{ abortEarly: false, allowUnknown: false }
|
|
205
|
+
);
|
|
206
|
+
if (warrning) {
|
|
207
|
+
console.log("Parameter Validation warrnings for updateCampaignById");
|
|
208
|
+
console.log(warrning);
|
|
209
|
+
}
|
|
210
|
+
|
|
154
211
|
const query_params = {};
|
|
155
212
|
|
|
156
213
|
return PlatformAPIClient.execute(
|
|
@@ -179,6 +236,20 @@ class Communication {
|
|
|
179
236
|
return Promise.reject(new FDKClientValidationError(error));
|
|
180
237
|
}
|
|
181
238
|
|
|
239
|
+
// Showing warrnings if extra unknown parameters are found
|
|
240
|
+
const {
|
|
241
|
+
error: warrning,
|
|
242
|
+
} = CommunicationValidator.getStatsOfCampaignById().validate(
|
|
243
|
+
{
|
|
244
|
+
id,
|
|
245
|
+
},
|
|
246
|
+
{ abortEarly: false, allowUnknown: false }
|
|
247
|
+
);
|
|
248
|
+
if (warrning) {
|
|
249
|
+
console.log("Parameter Validation warrnings for getStatsOfCampaignById");
|
|
250
|
+
console.log(warrning);
|
|
251
|
+
}
|
|
252
|
+
|
|
182
253
|
const query_params = {};
|
|
183
254
|
|
|
184
255
|
return PlatformAPIClient.execute(
|
|
@@ -211,6 +282,20 @@ class Communication {
|
|
|
211
282
|
return Promise.reject(new FDKClientValidationError(error));
|
|
212
283
|
}
|
|
213
284
|
|
|
285
|
+
// Showing warrnings if extra unknown parameters are found
|
|
286
|
+
const { error: warrning } = CommunicationValidator.getAudiences().validate(
|
|
287
|
+
{
|
|
288
|
+
pageNo,
|
|
289
|
+
pageSize,
|
|
290
|
+
sort,
|
|
291
|
+
},
|
|
292
|
+
{ abortEarly: false, allowUnknown: false }
|
|
293
|
+
);
|
|
294
|
+
if (warrning) {
|
|
295
|
+
console.log("Parameter Validation warrnings for getAudiences");
|
|
296
|
+
console.log(warrning);
|
|
297
|
+
}
|
|
298
|
+
|
|
214
299
|
const query_params = {};
|
|
215
300
|
query_params["page_no"] = pageNo;
|
|
216
301
|
query_params["page_size"] = pageSize;
|
|
@@ -274,6 +359,20 @@ class Communication {
|
|
|
274
359
|
return Promise.reject(new FDKClientValidationError(error));
|
|
275
360
|
}
|
|
276
361
|
|
|
362
|
+
// Showing warrnings if extra unknown parameters are found
|
|
363
|
+
const {
|
|
364
|
+
error: warrning,
|
|
365
|
+
} = CommunicationValidator.createAudience().validate(
|
|
366
|
+
{
|
|
367
|
+
body,
|
|
368
|
+
},
|
|
369
|
+
{ abortEarly: false, allowUnknown: false }
|
|
370
|
+
);
|
|
371
|
+
if (warrning) {
|
|
372
|
+
console.log("Parameter Validation warrnings for createAudience");
|
|
373
|
+
console.log(warrning);
|
|
374
|
+
}
|
|
375
|
+
|
|
277
376
|
const query_params = {};
|
|
278
377
|
|
|
279
378
|
return PlatformAPIClient.execute(
|
|
@@ -302,6 +401,20 @@ class Communication {
|
|
|
302
401
|
return Promise.reject(new FDKClientValidationError(error));
|
|
303
402
|
}
|
|
304
403
|
|
|
404
|
+
// Showing warrnings if extra unknown parameters are found
|
|
405
|
+
const {
|
|
406
|
+
error: warrning,
|
|
407
|
+
} = CommunicationValidator.getBigqueryHeaders().validate(
|
|
408
|
+
{
|
|
409
|
+
body,
|
|
410
|
+
},
|
|
411
|
+
{ abortEarly: false, allowUnknown: false }
|
|
412
|
+
);
|
|
413
|
+
if (warrning) {
|
|
414
|
+
console.log("Parameter Validation warrnings for getBigqueryHeaders");
|
|
415
|
+
console.log(warrning);
|
|
416
|
+
}
|
|
417
|
+
|
|
305
418
|
const query_params = {};
|
|
306
419
|
|
|
307
420
|
return PlatformAPIClient.execute(
|
|
@@ -330,6 +443,20 @@ class Communication {
|
|
|
330
443
|
return Promise.reject(new FDKClientValidationError(error));
|
|
331
444
|
}
|
|
332
445
|
|
|
446
|
+
// Showing warrnings if extra unknown parameters are found
|
|
447
|
+
const {
|
|
448
|
+
error: warrning,
|
|
449
|
+
} = CommunicationValidator.getAudienceById().validate(
|
|
450
|
+
{
|
|
451
|
+
id,
|
|
452
|
+
},
|
|
453
|
+
{ abortEarly: false, allowUnknown: false }
|
|
454
|
+
);
|
|
455
|
+
if (warrning) {
|
|
456
|
+
console.log("Parameter Validation warrnings for getAudienceById");
|
|
457
|
+
console.log(warrning);
|
|
458
|
+
}
|
|
459
|
+
|
|
333
460
|
const query_params = {};
|
|
334
461
|
|
|
335
462
|
return PlatformAPIClient.execute(
|
|
@@ -360,6 +487,21 @@ class Communication {
|
|
|
360
487
|
return Promise.reject(new FDKClientValidationError(error));
|
|
361
488
|
}
|
|
362
489
|
|
|
490
|
+
// Showing warrnings if extra unknown parameters are found
|
|
491
|
+
const {
|
|
492
|
+
error: warrning,
|
|
493
|
+
} = CommunicationValidator.updateAudienceById().validate(
|
|
494
|
+
{
|
|
495
|
+
id,
|
|
496
|
+
body,
|
|
497
|
+
},
|
|
498
|
+
{ abortEarly: false, allowUnknown: false }
|
|
499
|
+
);
|
|
500
|
+
if (warrning) {
|
|
501
|
+
console.log("Parameter Validation warrnings for updateAudienceById");
|
|
502
|
+
console.log(warrning);
|
|
503
|
+
}
|
|
504
|
+
|
|
363
505
|
const query_params = {};
|
|
364
506
|
|
|
365
507
|
return PlatformAPIClient.execute(
|
|
@@ -390,6 +532,22 @@ class Communication {
|
|
|
390
532
|
return Promise.reject(new FDKClientValidationError(error));
|
|
391
533
|
}
|
|
392
534
|
|
|
535
|
+
// Showing warrnings if extra unknown parameters are found
|
|
536
|
+
const {
|
|
537
|
+
error: warrning,
|
|
538
|
+
} = CommunicationValidator.getNSampleRecordsFromCsv().validate(
|
|
539
|
+
{
|
|
540
|
+
body,
|
|
541
|
+
},
|
|
542
|
+
{ abortEarly: false, allowUnknown: false }
|
|
543
|
+
);
|
|
544
|
+
if (warrning) {
|
|
545
|
+
console.log(
|
|
546
|
+
"Parameter Validation warrnings for getNSampleRecordsFromCsv"
|
|
547
|
+
);
|
|
548
|
+
console.log(warrning);
|
|
549
|
+
}
|
|
550
|
+
|
|
393
551
|
const query_params = {};
|
|
394
552
|
|
|
395
553
|
return PlatformAPIClient.execute(
|
|
@@ -422,6 +580,22 @@ class Communication {
|
|
|
422
580
|
return Promise.reject(new FDKClientValidationError(error));
|
|
423
581
|
}
|
|
424
582
|
|
|
583
|
+
// Showing warrnings if extra unknown parameters are found
|
|
584
|
+
const {
|
|
585
|
+
error: warrning,
|
|
586
|
+
} = CommunicationValidator.getEmailProviders().validate(
|
|
587
|
+
{
|
|
588
|
+
pageNo,
|
|
589
|
+
pageSize,
|
|
590
|
+
sort,
|
|
591
|
+
},
|
|
592
|
+
{ abortEarly: false, allowUnknown: false }
|
|
593
|
+
);
|
|
594
|
+
if (warrning) {
|
|
595
|
+
console.log("Parameter Validation warrnings for getEmailProviders");
|
|
596
|
+
console.log(warrning);
|
|
597
|
+
}
|
|
598
|
+
|
|
425
599
|
const query_params = {};
|
|
426
600
|
query_params["page_no"] = pageNo;
|
|
427
601
|
query_params["page_size"] = pageSize;
|
|
@@ -490,6 +664,20 @@ class Communication {
|
|
|
490
664
|
return Promise.reject(new FDKClientValidationError(error));
|
|
491
665
|
}
|
|
492
666
|
|
|
667
|
+
// Showing warrnings if extra unknown parameters are found
|
|
668
|
+
const {
|
|
669
|
+
error: warrning,
|
|
670
|
+
} = CommunicationValidator.createEmailProvider().validate(
|
|
671
|
+
{
|
|
672
|
+
body,
|
|
673
|
+
},
|
|
674
|
+
{ abortEarly: false, allowUnknown: false }
|
|
675
|
+
);
|
|
676
|
+
if (warrning) {
|
|
677
|
+
console.log("Parameter Validation warrnings for createEmailProvider");
|
|
678
|
+
console.log(warrning);
|
|
679
|
+
}
|
|
680
|
+
|
|
493
681
|
const query_params = {};
|
|
494
682
|
|
|
495
683
|
return PlatformAPIClient.execute(
|
|
@@ -518,6 +706,20 @@ class Communication {
|
|
|
518
706
|
return Promise.reject(new FDKClientValidationError(error));
|
|
519
707
|
}
|
|
520
708
|
|
|
709
|
+
// Showing warrnings if extra unknown parameters are found
|
|
710
|
+
const {
|
|
711
|
+
error: warrning,
|
|
712
|
+
} = CommunicationValidator.getEmailProviderById().validate(
|
|
713
|
+
{
|
|
714
|
+
id,
|
|
715
|
+
},
|
|
716
|
+
{ abortEarly: false, allowUnknown: false }
|
|
717
|
+
);
|
|
718
|
+
if (warrning) {
|
|
719
|
+
console.log("Parameter Validation warrnings for getEmailProviderById");
|
|
720
|
+
console.log(warrning);
|
|
721
|
+
}
|
|
722
|
+
|
|
521
723
|
const query_params = {};
|
|
522
724
|
|
|
523
725
|
return PlatformAPIClient.execute(
|
|
@@ -548,6 +750,21 @@ class Communication {
|
|
|
548
750
|
return Promise.reject(new FDKClientValidationError(error));
|
|
549
751
|
}
|
|
550
752
|
|
|
753
|
+
// Showing warrnings if extra unknown parameters are found
|
|
754
|
+
const {
|
|
755
|
+
error: warrning,
|
|
756
|
+
} = CommunicationValidator.updateEmailProviderById().validate(
|
|
757
|
+
{
|
|
758
|
+
id,
|
|
759
|
+
body,
|
|
760
|
+
},
|
|
761
|
+
{ abortEarly: false, allowUnknown: false }
|
|
762
|
+
);
|
|
763
|
+
if (warrning) {
|
|
764
|
+
console.log("Parameter Validation warrnings for updateEmailProviderById");
|
|
765
|
+
console.log(warrning);
|
|
766
|
+
}
|
|
767
|
+
|
|
551
768
|
const query_params = {};
|
|
552
769
|
|
|
553
770
|
return PlatformAPIClient.execute(
|
|
@@ -580,6 +797,22 @@ class Communication {
|
|
|
580
797
|
return Promise.reject(new FDKClientValidationError(error));
|
|
581
798
|
}
|
|
582
799
|
|
|
800
|
+
// Showing warrnings if extra unknown parameters are found
|
|
801
|
+
const {
|
|
802
|
+
error: warrning,
|
|
803
|
+
} = CommunicationValidator.getEmailTemplates().validate(
|
|
804
|
+
{
|
|
805
|
+
pageNo,
|
|
806
|
+
pageSize,
|
|
807
|
+
sort,
|
|
808
|
+
},
|
|
809
|
+
{ abortEarly: false, allowUnknown: false }
|
|
810
|
+
);
|
|
811
|
+
if (warrning) {
|
|
812
|
+
console.log("Parameter Validation warrnings for getEmailTemplates");
|
|
813
|
+
console.log(warrning);
|
|
814
|
+
}
|
|
815
|
+
|
|
583
816
|
const query_params = {};
|
|
584
817
|
query_params["page_no"] = pageNo;
|
|
585
818
|
query_params["page_size"] = pageSize;
|
|
@@ -648,6 +881,20 @@ class Communication {
|
|
|
648
881
|
return Promise.reject(new FDKClientValidationError(error));
|
|
649
882
|
}
|
|
650
883
|
|
|
884
|
+
// Showing warrnings if extra unknown parameters are found
|
|
885
|
+
const {
|
|
886
|
+
error: warrning,
|
|
887
|
+
} = CommunicationValidator.createEmailTemplate().validate(
|
|
888
|
+
{
|
|
889
|
+
body,
|
|
890
|
+
},
|
|
891
|
+
{ abortEarly: false, allowUnknown: false }
|
|
892
|
+
);
|
|
893
|
+
if (warrning) {
|
|
894
|
+
console.log("Parameter Validation warrnings for createEmailTemplate");
|
|
895
|
+
console.log(warrning);
|
|
896
|
+
}
|
|
897
|
+
|
|
651
898
|
const query_params = {};
|
|
652
899
|
|
|
653
900
|
return PlatformAPIClient.execute(
|
|
@@ -680,6 +927,22 @@ class Communication {
|
|
|
680
927
|
return Promise.reject(new FDKClientValidationError(error));
|
|
681
928
|
}
|
|
682
929
|
|
|
930
|
+
// Showing warrnings if extra unknown parameters are found
|
|
931
|
+
const {
|
|
932
|
+
error: warrning,
|
|
933
|
+
} = CommunicationValidator.getSystemEmailTemplates().validate(
|
|
934
|
+
{
|
|
935
|
+
pageNo,
|
|
936
|
+
pageSize,
|
|
937
|
+
sort,
|
|
938
|
+
},
|
|
939
|
+
{ abortEarly: false, allowUnknown: false }
|
|
940
|
+
);
|
|
941
|
+
if (warrning) {
|
|
942
|
+
console.log("Parameter Validation warrnings for getSystemEmailTemplates");
|
|
943
|
+
console.log(warrning);
|
|
944
|
+
}
|
|
945
|
+
|
|
683
946
|
const query_params = {};
|
|
684
947
|
query_params["page_no"] = pageNo;
|
|
685
948
|
query_params["page_size"] = pageSize;
|
|
@@ -748,6 +1011,20 @@ class Communication {
|
|
|
748
1011
|
return Promise.reject(new FDKClientValidationError(error));
|
|
749
1012
|
}
|
|
750
1013
|
|
|
1014
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1015
|
+
const {
|
|
1016
|
+
error: warrning,
|
|
1017
|
+
} = CommunicationValidator.getEmailTemplateById().validate(
|
|
1018
|
+
{
|
|
1019
|
+
id,
|
|
1020
|
+
},
|
|
1021
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1022
|
+
);
|
|
1023
|
+
if (warrning) {
|
|
1024
|
+
console.log("Parameter Validation warrnings for getEmailTemplateById");
|
|
1025
|
+
console.log(warrning);
|
|
1026
|
+
}
|
|
1027
|
+
|
|
751
1028
|
const query_params = {};
|
|
752
1029
|
|
|
753
1030
|
return PlatformAPIClient.execute(
|
|
@@ -778,6 +1055,21 @@ class Communication {
|
|
|
778
1055
|
return Promise.reject(new FDKClientValidationError(error));
|
|
779
1056
|
}
|
|
780
1057
|
|
|
1058
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1059
|
+
const {
|
|
1060
|
+
error: warrning,
|
|
1061
|
+
} = CommunicationValidator.updateEmailTemplateById().validate(
|
|
1062
|
+
{
|
|
1063
|
+
id,
|
|
1064
|
+
body,
|
|
1065
|
+
},
|
|
1066
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1067
|
+
);
|
|
1068
|
+
if (warrning) {
|
|
1069
|
+
console.log("Parameter Validation warrnings for updateEmailTemplateById");
|
|
1070
|
+
console.log(warrning);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
781
1073
|
const query_params = {};
|
|
782
1074
|
|
|
783
1075
|
return PlatformAPIClient.execute(
|
|
@@ -806,6 +1098,20 @@ class Communication {
|
|
|
806
1098
|
return Promise.reject(new FDKClientValidationError(error));
|
|
807
1099
|
}
|
|
808
1100
|
|
|
1101
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1102
|
+
const {
|
|
1103
|
+
error: warrning,
|
|
1104
|
+
} = CommunicationValidator.deleteEmailTemplateById().validate(
|
|
1105
|
+
{
|
|
1106
|
+
id,
|
|
1107
|
+
},
|
|
1108
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1109
|
+
);
|
|
1110
|
+
if (warrning) {
|
|
1111
|
+
console.log("Parameter Validation warrnings for deleteEmailTemplateById");
|
|
1112
|
+
console.log(warrning);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
809
1115
|
const query_params = {};
|
|
810
1116
|
|
|
811
1117
|
return PlatformAPIClient.execute(
|
|
@@ -836,6 +1142,22 @@ class Communication {
|
|
|
836
1142
|
return Promise.reject(new FDKClientValidationError(error));
|
|
837
1143
|
}
|
|
838
1144
|
|
|
1145
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1146
|
+
const {
|
|
1147
|
+
error: warrning,
|
|
1148
|
+
} = CommunicationValidator.sendCommunicationSynchronously().validate(
|
|
1149
|
+
{
|
|
1150
|
+
body,
|
|
1151
|
+
},
|
|
1152
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1153
|
+
);
|
|
1154
|
+
if (warrning) {
|
|
1155
|
+
console.log(
|
|
1156
|
+
"Parameter Validation warrnings for sendCommunicationSynchronously"
|
|
1157
|
+
);
|
|
1158
|
+
console.log(warrning);
|
|
1159
|
+
}
|
|
1160
|
+
|
|
839
1161
|
const query_params = {};
|
|
840
1162
|
|
|
841
1163
|
return PlatformAPIClient.execute(
|
|
@@ -866,6 +1188,22 @@ class Communication {
|
|
|
866
1188
|
return Promise.reject(new FDKClientValidationError(error));
|
|
867
1189
|
}
|
|
868
1190
|
|
|
1191
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1192
|
+
const {
|
|
1193
|
+
error: warrning,
|
|
1194
|
+
} = CommunicationValidator.sendCommunicationAsynchronously().validate(
|
|
1195
|
+
{
|
|
1196
|
+
body,
|
|
1197
|
+
},
|
|
1198
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1199
|
+
);
|
|
1200
|
+
if (warrning) {
|
|
1201
|
+
console.log(
|
|
1202
|
+
"Parameter Validation warrnings for sendCommunicationAsynchronously"
|
|
1203
|
+
);
|
|
1204
|
+
console.log(warrning);
|
|
1205
|
+
}
|
|
1206
|
+
|
|
869
1207
|
const query_params = {};
|
|
870
1208
|
|
|
871
1209
|
return PlatformAPIClient.execute(
|
|
@@ -898,6 +1236,22 @@ class Communication {
|
|
|
898
1236
|
return Promise.reject(new FDKClientValidationError(error));
|
|
899
1237
|
}
|
|
900
1238
|
|
|
1239
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1240
|
+
const {
|
|
1241
|
+
error: warrning,
|
|
1242
|
+
} = CommunicationValidator.getEventSubscriptions().validate(
|
|
1243
|
+
{
|
|
1244
|
+
pageNo,
|
|
1245
|
+
pageSize,
|
|
1246
|
+
populate,
|
|
1247
|
+
},
|
|
1248
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1249
|
+
);
|
|
1250
|
+
if (warrning) {
|
|
1251
|
+
console.log("Parameter Validation warrnings for getEventSubscriptions");
|
|
1252
|
+
console.log(warrning);
|
|
1253
|
+
}
|
|
1254
|
+
|
|
901
1255
|
const query_params = {};
|
|
902
1256
|
query_params["page_no"] = pageNo;
|
|
903
1257
|
query_params["page_size"] = pageSize;
|
|
@@ -970,6 +1324,20 @@ class Communication {
|
|
|
970
1324
|
return Promise.reject(new FDKClientValidationError(error));
|
|
971
1325
|
}
|
|
972
1326
|
|
|
1327
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1328
|
+
const { error: warrning } = CommunicationValidator.getJobs().validate(
|
|
1329
|
+
{
|
|
1330
|
+
pageNo,
|
|
1331
|
+
pageSize,
|
|
1332
|
+
sort,
|
|
1333
|
+
},
|
|
1334
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1335
|
+
);
|
|
1336
|
+
if (warrning) {
|
|
1337
|
+
console.log("Parameter Validation warrnings for getJobs");
|
|
1338
|
+
console.log(warrning);
|
|
1339
|
+
}
|
|
1340
|
+
|
|
973
1341
|
const query_params = {};
|
|
974
1342
|
query_params["page_no"] = pageNo;
|
|
975
1343
|
query_params["page_size"] = pageSize;
|
|
@@ -1033,6 +1401,20 @@ class Communication {
|
|
|
1033
1401
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1034
1402
|
}
|
|
1035
1403
|
|
|
1404
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1405
|
+
const {
|
|
1406
|
+
error: warrning,
|
|
1407
|
+
} = CommunicationValidator.triggerCampaignJob().validate(
|
|
1408
|
+
{
|
|
1409
|
+
body,
|
|
1410
|
+
},
|
|
1411
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1412
|
+
);
|
|
1413
|
+
if (warrning) {
|
|
1414
|
+
console.log("Parameter Validation warrnings for triggerCampaignJob");
|
|
1415
|
+
console.log(warrning);
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1036
1418
|
const query_params = {};
|
|
1037
1419
|
|
|
1038
1420
|
return PlatformAPIClient.execute(
|
|
@@ -1065,6 +1447,20 @@ class Communication {
|
|
|
1065
1447
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1066
1448
|
}
|
|
1067
1449
|
|
|
1450
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1451
|
+
const { error: warrning } = CommunicationValidator.getJobLogs().validate(
|
|
1452
|
+
{
|
|
1453
|
+
pageNo,
|
|
1454
|
+
pageSize,
|
|
1455
|
+
sort,
|
|
1456
|
+
},
|
|
1457
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1458
|
+
);
|
|
1459
|
+
if (warrning) {
|
|
1460
|
+
console.log("Parameter Validation warrnings for getJobLogs");
|
|
1461
|
+
console.log(warrning);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1068
1464
|
const query_params = {};
|
|
1069
1465
|
query_params["page_no"] = pageNo;
|
|
1070
1466
|
query_params["page_size"] = pageSize;
|
|
@@ -1134,6 +1530,23 @@ class Communication {
|
|
|
1134
1530
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1135
1531
|
}
|
|
1136
1532
|
|
|
1533
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1534
|
+
const {
|
|
1535
|
+
error: warrning,
|
|
1536
|
+
} = CommunicationValidator.getCommunicationLogs().validate(
|
|
1537
|
+
{
|
|
1538
|
+
pageId,
|
|
1539
|
+
pageSize,
|
|
1540
|
+
sort,
|
|
1541
|
+
query,
|
|
1542
|
+
},
|
|
1543
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1544
|
+
);
|
|
1545
|
+
if (warrning) {
|
|
1546
|
+
console.log("Parameter Validation warrnings for getCommunicationLogs");
|
|
1547
|
+
console.log(warrning);
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1137
1550
|
const query_params = {};
|
|
1138
1551
|
query_params["page_id"] = pageId;
|
|
1139
1552
|
query_params["page_size"] = pageSize;
|
|
@@ -1206,6 +1619,18 @@ class Communication {
|
|
|
1206
1619
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1207
1620
|
}
|
|
1208
1621
|
|
|
1622
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1623
|
+
const { error: warrning } = CommunicationValidator.sendOtp().validate(
|
|
1624
|
+
{
|
|
1625
|
+
body,
|
|
1626
|
+
},
|
|
1627
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1628
|
+
);
|
|
1629
|
+
if (warrning) {
|
|
1630
|
+
console.log("Parameter Validation warrnings for sendOtp");
|
|
1631
|
+
console.log(warrning);
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1209
1634
|
const query_params = {};
|
|
1210
1635
|
|
|
1211
1636
|
return PlatformAPIClient.execute(
|
|
@@ -1234,6 +1659,18 @@ class Communication {
|
|
|
1234
1659
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1235
1660
|
}
|
|
1236
1661
|
|
|
1662
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1663
|
+
const { error: warrning } = CommunicationValidator.verfiyOtp().validate(
|
|
1664
|
+
{
|
|
1665
|
+
body,
|
|
1666
|
+
},
|
|
1667
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1668
|
+
);
|
|
1669
|
+
if (warrning) {
|
|
1670
|
+
console.log("Parameter Validation warrnings for verfiyOtp");
|
|
1671
|
+
console.log(warrning);
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1237
1674
|
const query_params = {};
|
|
1238
1675
|
|
|
1239
1676
|
return PlatformAPIClient.execute(
|
|
@@ -1266,6 +1703,22 @@ class Communication {
|
|
|
1266
1703
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1267
1704
|
}
|
|
1268
1705
|
|
|
1706
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1707
|
+
const {
|
|
1708
|
+
error: warrning,
|
|
1709
|
+
} = CommunicationValidator.getSmsProviders().validate(
|
|
1710
|
+
{
|
|
1711
|
+
pageNo,
|
|
1712
|
+
pageSize,
|
|
1713
|
+
sort,
|
|
1714
|
+
},
|
|
1715
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1716
|
+
);
|
|
1717
|
+
if (warrning) {
|
|
1718
|
+
console.log("Parameter Validation warrnings for getSmsProviders");
|
|
1719
|
+
console.log(warrning);
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1269
1722
|
const query_params = {};
|
|
1270
1723
|
query_params["page_no"] = pageNo;
|
|
1271
1724
|
query_params["page_size"] = pageSize;
|
|
@@ -1329,6 +1782,20 @@ class Communication {
|
|
|
1329
1782
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1330
1783
|
}
|
|
1331
1784
|
|
|
1785
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1786
|
+
const {
|
|
1787
|
+
error: warrning,
|
|
1788
|
+
} = CommunicationValidator.createSmsProvider().validate(
|
|
1789
|
+
{
|
|
1790
|
+
body,
|
|
1791
|
+
},
|
|
1792
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1793
|
+
);
|
|
1794
|
+
if (warrning) {
|
|
1795
|
+
console.log("Parameter Validation warrnings for createSmsProvider");
|
|
1796
|
+
console.log(warrning);
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1332
1799
|
const query_params = {};
|
|
1333
1800
|
|
|
1334
1801
|
return PlatformAPIClient.execute(
|
|
@@ -1357,6 +1824,20 @@ class Communication {
|
|
|
1357
1824
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1358
1825
|
}
|
|
1359
1826
|
|
|
1827
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1828
|
+
const {
|
|
1829
|
+
error: warrning,
|
|
1830
|
+
} = CommunicationValidator.getSmsProviderById().validate(
|
|
1831
|
+
{
|
|
1832
|
+
id,
|
|
1833
|
+
},
|
|
1834
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1835
|
+
);
|
|
1836
|
+
if (warrning) {
|
|
1837
|
+
console.log("Parameter Validation warrnings for getSmsProviderById");
|
|
1838
|
+
console.log(warrning);
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1360
1841
|
const query_params = {};
|
|
1361
1842
|
|
|
1362
1843
|
return PlatformAPIClient.execute(
|
|
@@ -1387,6 +1868,21 @@ class Communication {
|
|
|
1387
1868
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1388
1869
|
}
|
|
1389
1870
|
|
|
1871
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1872
|
+
const {
|
|
1873
|
+
error: warrning,
|
|
1874
|
+
} = CommunicationValidator.updateSmsProviderById().validate(
|
|
1875
|
+
{
|
|
1876
|
+
id,
|
|
1877
|
+
body,
|
|
1878
|
+
},
|
|
1879
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1880
|
+
);
|
|
1881
|
+
if (warrning) {
|
|
1882
|
+
console.log("Parameter Validation warrnings for updateSmsProviderById");
|
|
1883
|
+
console.log(warrning);
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1390
1886
|
const query_params = {};
|
|
1391
1887
|
|
|
1392
1888
|
return PlatformAPIClient.execute(
|
|
@@ -1419,6 +1915,22 @@ class Communication {
|
|
|
1419
1915
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1420
1916
|
}
|
|
1421
1917
|
|
|
1918
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1919
|
+
const {
|
|
1920
|
+
error: warrning,
|
|
1921
|
+
} = CommunicationValidator.getSmsTemplates().validate(
|
|
1922
|
+
{
|
|
1923
|
+
pageNo,
|
|
1924
|
+
pageSize,
|
|
1925
|
+
sort,
|
|
1926
|
+
},
|
|
1927
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1928
|
+
);
|
|
1929
|
+
if (warrning) {
|
|
1930
|
+
console.log("Parameter Validation warrnings for getSmsTemplates");
|
|
1931
|
+
console.log(warrning);
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1422
1934
|
const query_params = {};
|
|
1423
1935
|
query_params["page_no"] = pageNo;
|
|
1424
1936
|
query_params["page_size"] = pageSize;
|
|
@@ -1482,6 +1994,20 @@ class Communication {
|
|
|
1482
1994
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1483
1995
|
}
|
|
1484
1996
|
|
|
1997
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1998
|
+
const {
|
|
1999
|
+
error: warrning,
|
|
2000
|
+
} = CommunicationValidator.createSmsTemplate().validate(
|
|
2001
|
+
{
|
|
2002
|
+
body,
|
|
2003
|
+
},
|
|
2004
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2005
|
+
);
|
|
2006
|
+
if (warrning) {
|
|
2007
|
+
console.log("Parameter Validation warrnings for createSmsTemplate");
|
|
2008
|
+
console.log(warrning);
|
|
2009
|
+
}
|
|
2010
|
+
|
|
1485
2011
|
const query_params = {};
|
|
1486
2012
|
|
|
1487
2013
|
return PlatformAPIClient.execute(
|
|
@@ -1510,6 +2036,20 @@ class Communication {
|
|
|
1510
2036
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1511
2037
|
}
|
|
1512
2038
|
|
|
2039
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2040
|
+
const {
|
|
2041
|
+
error: warrning,
|
|
2042
|
+
} = CommunicationValidator.getSmsTemplateById().validate(
|
|
2043
|
+
{
|
|
2044
|
+
id,
|
|
2045
|
+
},
|
|
2046
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2047
|
+
);
|
|
2048
|
+
if (warrning) {
|
|
2049
|
+
console.log("Parameter Validation warrnings for getSmsTemplateById");
|
|
2050
|
+
console.log(warrning);
|
|
2051
|
+
}
|
|
2052
|
+
|
|
1513
2053
|
const query_params = {};
|
|
1514
2054
|
|
|
1515
2055
|
return PlatformAPIClient.execute(
|
|
@@ -1540,6 +2080,21 @@ class Communication {
|
|
|
1540
2080
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1541
2081
|
}
|
|
1542
2082
|
|
|
2083
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2084
|
+
const {
|
|
2085
|
+
error: warrning,
|
|
2086
|
+
} = CommunicationValidator.updateSmsTemplateById().validate(
|
|
2087
|
+
{
|
|
2088
|
+
id,
|
|
2089
|
+
body,
|
|
2090
|
+
},
|
|
2091
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2092
|
+
);
|
|
2093
|
+
if (warrning) {
|
|
2094
|
+
console.log("Parameter Validation warrnings for updateSmsTemplateById");
|
|
2095
|
+
console.log(warrning);
|
|
2096
|
+
}
|
|
2097
|
+
|
|
1543
2098
|
const query_params = {};
|
|
1544
2099
|
|
|
1545
2100
|
return PlatformAPIClient.execute(
|
|
@@ -1568,6 +2123,20 @@ class Communication {
|
|
|
1568
2123
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1569
2124
|
}
|
|
1570
2125
|
|
|
2126
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2127
|
+
const {
|
|
2128
|
+
error: warrning,
|
|
2129
|
+
} = CommunicationValidator.deleteSmsTemplateById().validate(
|
|
2130
|
+
{
|
|
2131
|
+
id,
|
|
2132
|
+
},
|
|
2133
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2134
|
+
);
|
|
2135
|
+
if (warrning) {
|
|
2136
|
+
console.log("Parameter Validation warrnings for deleteSmsTemplateById");
|
|
2137
|
+
console.log(warrning);
|
|
2138
|
+
}
|
|
2139
|
+
|
|
1571
2140
|
const query_params = {};
|
|
1572
2141
|
|
|
1573
2142
|
return PlatformAPIClient.execute(
|
|
@@ -1602,6 +2171,24 @@ class Communication {
|
|
|
1602
2171
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1603
2172
|
}
|
|
1604
2173
|
|
|
2174
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2175
|
+
const {
|
|
2176
|
+
error: warrning,
|
|
2177
|
+
} = CommunicationValidator.getSystemSystemTemplates().validate(
|
|
2178
|
+
{
|
|
2179
|
+
pageNo,
|
|
2180
|
+
pageSize,
|
|
2181
|
+
sort,
|
|
2182
|
+
},
|
|
2183
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2184
|
+
);
|
|
2185
|
+
if (warrning) {
|
|
2186
|
+
console.log(
|
|
2187
|
+
"Parameter Validation warrnings for getSystemSystemTemplates"
|
|
2188
|
+
);
|
|
2189
|
+
console.log(warrning);
|
|
2190
|
+
}
|
|
2191
|
+
|
|
1605
2192
|
const query_params = {};
|
|
1606
2193
|
query_params["page_no"] = pageNo;
|
|
1607
2194
|
query_params["page_size"] = pageSize;
|