@gofynd/fdk-client-javascript 3.23.0 → 3.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +12 -12
- package/sdk/application/Cart/CartApplicationClient.js +119 -33
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.js +1 -1
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.js +4 -2
- package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.js +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +84 -13
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +52 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +19 -27
- package/sdk/platform/Cart/CartPlatformModel.js +8 -18
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +7 -2
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5 -2
- package/sdk/platform/Common/CommonPlatformClient.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +96 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +61 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +48 -12
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +316 -81
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +27 -10
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +38 -12
- package/sdk/platform/Content/ContentPlatformModel.d.ts +102 -1
- package/sdk/platform/Content/ContentPlatformModel.js +88 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +28 -0
- package/sdk/platform/Order/OrderPlatformClient.js +179 -3
- package/sdk/platform/Order/OrderPlatformModel.d.ts +155 -6
- package/sdk/platform/Order/OrderPlatformModel.js +105 -3
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +30 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +63 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +43 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +14 -1
- package/sdk/platform/User/UserPlatformModel.js +16 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
|
@@ -574,6 +574,87 @@ class Content {
|
|
|
574
574
|
return response;
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
+
/**
|
|
578
|
+
* @param {ContentPlatformApplicationValidator.CreateAppAssociationParam} arg
|
|
579
|
+
* - Arg object
|
|
580
|
+
*
|
|
581
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
582
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
583
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationRecord>} - Success response
|
|
584
|
+
* @name createAppAssociation
|
|
585
|
+
* @summary: Create app association
|
|
586
|
+
* @description: Create-only. Returns 409 if a record already exists for this application (caller should use PUT to update). 422 on shape/size violations. Body fields `ios_payload` (object|null) and `android_payload` (array|null) are both optional and independent. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/createAppAssociation/).
|
|
587
|
+
*/
|
|
588
|
+
async createAppAssociation(
|
|
589
|
+
{ body, requestHeaders } = { requestHeaders: {} },
|
|
590
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
591
|
+
) {
|
|
592
|
+
const {
|
|
593
|
+
error,
|
|
594
|
+
} = ContentPlatformApplicationValidator.createAppAssociation().validate(
|
|
595
|
+
{
|
|
596
|
+
body,
|
|
597
|
+
},
|
|
598
|
+
{ abortEarly: false, allowUnknown: true }
|
|
599
|
+
);
|
|
600
|
+
if (error) {
|
|
601
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
// Showing warrnings if extra unknown parameters are found
|
|
605
|
+
const {
|
|
606
|
+
error: warrning,
|
|
607
|
+
} = ContentPlatformApplicationValidator.createAppAssociation().validate(
|
|
608
|
+
{
|
|
609
|
+
body,
|
|
610
|
+
},
|
|
611
|
+
{ abortEarly: false, allowUnknown: false }
|
|
612
|
+
);
|
|
613
|
+
if (warrning) {
|
|
614
|
+
Logger({
|
|
615
|
+
level: "WARN",
|
|
616
|
+
message: `Parameter Validation warrnings for platform > Content > createAppAssociation \n ${warrning}`,
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
const query_params = {};
|
|
621
|
+
|
|
622
|
+
const response = await PlatformAPIClient.execute(
|
|
623
|
+
this.config,
|
|
624
|
+
"post",
|
|
625
|
+
`/service/platform/content/v1.0/company/${this.config.companyId}/application/${this.applicationId}/app-association`,
|
|
626
|
+
query_params,
|
|
627
|
+
body,
|
|
628
|
+
requestHeaders,
|
|
629
|
+
{ responseHeaders }
|
|
630
|
+
);
|
|
631
|
+
|
|
632
|
+
let responseData = response;
|
|
633
|
+
if (responseHeaders) {
|
|
634
|
+
responseData = response[0];
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
const {
|
|
638
|
+
error: res_error,
|
|
639
|
+
} = ContentPlatformModel.AppAssociationRecord().validate(responseData, {
|
|
640
|
+
abortEarly: false,
|
|
641
|
+
allowUnknown: true,
|
|
642
|
+
});
|
|
643
|
+
|
|
644
|
+
if (res_error) {
|
|
645
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
646
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
647
|
+
} else {
|
|
648
|
+
Logger({
|
|
649
|
+
level: "WARN",
|
|
650
|
+
message: `Response Validation Warnings for platform > Content > createAppAssociation \n ${res_error}`,
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
return response;
|
|
656
|
+
}
|
|
657
|
+
|
|
577
658
|
/**
|
|
578
659
|
* @param {ContentPlatformApplicationValidator.CreateAppCustomFieldDefinitionParam} arg
|
|
579
660
|
* - Arg object
|
|
@@ -1545,6 +1626,83 @@ class Content {
|
|
|
1545
1626
|
return response;
|
|
1546
1627
|
}
|
|
1547
1628
|
|
|
1629
|
+
/**
|
|
1630
|
+
* @param {ContentPlatformApplicationValidator.DeleteAppAssociationParam} arg
|
|
1631
|
+
* - Arg object
|
|
1632
|
+
*
|
|
1633
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1634
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1635
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationDeleted>} - Success response
|
|
1636
|
+
* @name deleteAppAssociation
|
|
1637
|
+
* @summary: Delete app association
|
|
1638
|
+
* @description: Remove the app-association record entirely. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/deleteAppAssociation/).
|
|
1639
|
+
*/
|
|
1640
|
+
async deleteAppAssociation(
|
|
1641
|
+
{ requestHeaders } = { requestHeaders: {} },
|
|
1642
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
1643
|
+
) {
|
|
1644
|
+
const {
|
|
1645
|
+
error,
|
|
1646
|
+
} = ContentPlatformApplicationValidator.deleteAppAssociation().validate(
|
|
1647
|
+
{},
|
|
1648
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1649
|
+
);
|
|
1650
|
+
if (error) {
|
|
1651
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1655
|
+
const {
|
|
1656
|
+
error: warrning,
|
|
1657
|
+
} = ContentPlatformApplicationValidator.deleteAppAssociation().validate(
|
|
1658
|
+
{},
|
|
1659
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1660
|
+
);
|
|
1661
|
+
if (warrning) {
|
|
1662
|
+
Logger({
|
|
1663
|
+
level: "WARN",
|
|
1664
|
+
message: `Parameter Validation warrnings for platform > Content > deleteAppAssociation \n ${warrning}`,
|
|
1665
|
+
});
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
const query_params = {};
|
|
1669
|
+
|
|
1670
|
+
const response = await PlatformAPIClient.execute(
|
|
1671
|
+
this.config,
|
|
1672
|
+
"delete",
|
|
1673
|
+
`/service/platform/content/v1.0/company/${this.config.companyId}/application/${this.applicationId}/app-association`,
|
|
1674
|
+
query_params,
|
|
1675
|
+
undefined,
|
|
1676
|
+
requestHeaders,
|
|
1677
|
+
{ responseHeaders }
|
|
1678
|
+
);
|
|
1679
|
+
|
|
1680
|
+
let responseData = response;
|
|
1681
|
+
if (responseHeaders) {
|
|
1682
|
+
responseData = response[0];
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
const {
|
|
1686
|
+
error: res_error,
|
|
1687
|
+
} = ContentPlatformModel.AppAssociationDeleted().validate(responseData, {
|
|
1688
|
+
abortEarly: false,
|
|
1689
|
+
allowUnknown: true,
|
|
1690
|
+
});
|
|
1691
|
+
|
|
1692
|
+
if (res_error) {
|
|
1693
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
1694
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
1695
|
+
} else {
|
|
1696
|
+
Logger({
|
|
1697
|
+
level: "WARN",
|
|
1698
|
+
message: `Response Validation Warnings for platform > Content > deleteAppAssociation \n ${res_error}`,
|
|
1699
|
+
});
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
return response;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1548
1706
|
/**
|
|
1549
1707
|
* @param {ContentPlatformApplicationValidator.DeleteAppCustomFieldDefinitionBySlugParam} arg
|
|
1550
1708
|
* - Arg object
|
|
@@ -3251,6 +3409,83 @@ class Content {
|
|
|
3251
3409
|
return response;
|
|
3252
3410
|
}
|
|
3253
3411
|
|
|
3412
|
+
/**
|
|
3413
|
+
* @param {ContentPlatformApplicationValidator.GetAppAssociationParam} arg
|
|
3414
|
+
* - Arg object
|
|
3415
|
+
*
|
|
3416
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
3417
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3418
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationRecord>} - Success response
|
|
3419
|
+
* @name getAppAssociation
|
|
3420
|
+
* @summary: Get app association
|
|
3421
|
+
* @description: Fetch the app-association configuration (Apple AASA + Google Asset Links payloads) for this application. Returns 404 if no record exists. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/getAppAssociation/).
|
|
3422
|
+
*/
|
|
3423
|
+
async getAppAssociation(
|
|
3424
|
+
{ requestHeaders } = { requestHeaders: {} },
|
|
3425
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
3426
|
+
) {
|
|
3427
|
+
const {
|
|
3428
|
+
error,
|
|
3429
|
+
} = ContentPlatformApplicationValidator.getAppAssociation().validate(
|
|
3430
|
+
{},
|
|
3431
|
+
{ abortEarly: false, allowUnknown: true }
|
|
3432
|
+
);
|
|
3433
|
+
if (error) {
|
|
3434
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
3435
|
+
}
|
|
3436
|
+
|
|
3437
|
+
// Showing warrnings if extra unknown parameters are found
|
|
3438
|
+
const {
|
|
3439
|
+
error: warrning,
|
|
3440
|
+
} = ContentPlatformApplicationValidator.getAppAssociation().validate(
|
|
3441
|
+
{},
|
|
3442
|
+
{ abortEarly: false, allowUnknown: false }
|
|
3443
|
+
);
|
|
3444
|
+
if (warrning) {
|
|
3445
|
+
Logger({
|
|
3446
|
+
level: "WARN",
|
|
3447
|
+
message: `Parameter Validation warrnings for platform > Content > getAppAssociation \n ${warrning}`,
|
|
3448
|
+
});
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
const query_params = {};
|
|
3452
|
+
|
|
3453
|
+
const response = await PlatformAPIClient.execute(
|
|
3454
|
+
this.config,
|
|
3455
|
+
"get",
|
|
3456
|
+
`/service/platform/content/v1.0/company/${this.config.companyId}/application/${this.applicationId}/app-association`,
|
|
3457
|
+
query_params,
|
|
3458
|
+
undefined,
|
|
3459
|
+
requestHeaders,
|
|
3460
|
+
{ responseHeaders }
|
|
3461
|
+
);
|
|
3462
|
+
|
|
3463
|
+
let responseData = response;
|
|
3464
|
+
if (responseHeaders) {
|
|
3465
|
+
responseData = response[0];
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
const {
|
|
3469
|
+
error: res_error,
|
|
3470
|
+
} = ContentPlatformModel.AppAssociationRecord().validate(responseData, {
|
|
3471
|
+
abortEarly: false,
|
|
3472
|
+
allowUnknown: true,
|
|
3473
|
+
});
|
|
3474
|
+
|
|
3475
|
+
if (res_error) {
|
|
3476
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
3477
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
3478
|
+
} else {
|
|
3479
|
+
Logger({
|
|
3480
|
+
level: "WARN",
|
|
3481
|
+
message: `Response Validation Warnings for platform > Content > getAppAssociation \n ${res_error}`,
|
|
3482
|
+
});
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
return response;
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3254
3489
|
/**
|
|
3255
3490
|
* @param {ContentPlatformApplicationValidator.GetAppCustomFieldDefinitionByResourceParam} arg
|
|
3256
3491
|
* - Arg object
|
|
@@ -7239,6 +7474,87 @@ class Content {
|
|
|
7239
7474
|
return response;
|
|
7240
7475
|
}
|
|
7241
7476
|
|
|
7477
|
+
/**
|
|
7478
|
+
* @param {ContentPlatformApplicationValidator.UpdateAppAssociationParam} arg
|
|
7479
|
+
* - Arg object
|
|
7480
|
+
*
|
|
7481
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
7482
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
7483
|
+
* @returns {Promise<ContentPlatformModel.AppAssociationRecord>} - Success response
|
|
7484
|
+
* @name updateAppAssociation
|
|
7485
|
+
* @summary: Update app association
|
|
7486
|
+
* @description: Update-only. Returns 404 if no record exists (caller should use POST to create). Partial-update semantics: keys present are written (explicit null clears the field); keys absent are no-op. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/updateAppAssociation/).
|
|
7487
|
+
*/
|
|
7488
|
+
async updateAppAssociation(
|
|
7489
|
+
{ body, requestHeaders } = { requestHeaders: {} },
|
|
7490
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
7491
|
+
) {
|
|
7492
|
+
const {
|
|
7493
|
+
error,
|
|
7494
|
+
} = ContentPlatformApplicationValidator.updateAppAssociation().validate(
|
|
7495
|
+
{
|
|
7496
|
+
body,
|
|
7497
|
+
},
|
|
7498
|
+
{ abortEarly: false, allowUnknown: true }
|
|
7499
|
+
);
|
|
7500
|
+
if (error) {
|
|
7501
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
7502
|
+
}
|
|
7503
|
+
|
|
7504
|
+
// Showing warrnings if extra unknown parameters are found
|
|
7505
|
+
const {
|
|
7506
|
+
error: warrning,
|
|
7507
|
+
} = ContentPlatformApplicationValidator.updateAppAssociation().validate(
|
|
7508
|
+
{
|
|
7509
|
+
body,
|
|
7510
|
+
},
|
|
7511
|
+
{ abortEarly: false, allowUnknown: false }
|
|
7512
|
+
);
|
|
7513
|
+
if (warrning) {
|
|
7514
|
+
Logger({
|
|
7515
|
+
level: "WARN",
|
|
7516
|
+
message: `Parameter Validation warrnings for platform > Content > updateAppAssociation \n ${warrning}`,
|
|
7517
|
+
});
|
|
7518
|
+
}
|
|
7519
|
+
|
|
7520
|
+
const query_params = {};
|
|
7521
|
+
|
|
7522
|
+
const response = await PlatformAPIClient.execute(
|
|
7523
|
+
this.config,
|
|
7524
|
+
"put",
|
|
7525
|
+
`/service/platform/content/v1.0/company/${this.config.companyId}/application/${this.applicationId}/app-association`,
|
|
7526
|
+
query_params,
|
|
7527
|
+
body,
|
|
7528
|
+
requestHeaders,
|
|
7529
|
+
{ responseHeaders }
|
|
7530
|
+
);
|
|
7531
|
+
|
|
7532
|
+
let responseData = response;
|
|
7533
|
+
if (responseHeaders) {
|
|
7534
|
+
responseData = response[0];
|
|
7535
|
+
}
|
|
7536
|
+
|
|
7537
|
+
const {
|
|
7538
|
+
error: res_error,
|
|
7539
|
+
} = ContentPlatformModel.AppAssociationRecord().validate(responseData, {
|
|
7540
|
+
abortEarly: false,
|
|
7541
|
+
allowUnknown: true,
|
|
7542
|
+
});
|
|
7543
|
+
|
|
7544
|
+
if (res_error) {
|
|
7545
|
+
if (this.config.options.strictResponseCheck === true) {
|
|
7546
|
+
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
7547
|
+
} else {
|
|
7548
|
+
Logger({
|
|
7549
|
+
level: "WARN",
|
|
7550
|
+
message: `Response Validation Warnings for platform > Content > updateAppAssociation \n ${res_error}`,
|
|
7551
|
+
});
|
|
7552
|
+
}
|
|
7553
|
+
}
|
|
7554
|
+
|
|
7555
|
+
return response;
|
|
7556
|
+
}
|
|
7557
|
+
|
|
7242
7558
|
/**
|
|
7243
7559
|
* @param {ContentPlatformApplicationValidator.UpdateAppCustomFieldByResourceSlugParam} arg
|
|
7244
7560
|
* - Arg object
|
|
@@ -7997,87 +8313,6 @@ class Content {
|
|
|
7997
8313
|
return response;
|
|
7998
8314
|
}
|
|
7999
8315
|
|
|
8000
|
-
/**
|
|
8001
|
-
* @param {ContentPlatformApplicationValidator.UpdateInjectableTagParam} arg
|
|
8002
|
-
* - Arg object
|
|
8003
|
-
*
|
|
8004
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
8005
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
8006
|
-
* @returns {Promise<ContentPlatformModel.TagsSchema>} - Success response
|
|
8007
|
-
* @name updateInjectableTag
|
|
8008
|
-
* @summary: Update HTML tag
|
|
8009
|
-
* @description: Modify settings for an injectable tag. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/content/updateInjectableTag/).
|
|
8010
|
-
*/
|
|
8011
|
-
async updateInjectableTag(
|
|
8012
|
-
{ body, requestHeaders } = { requestHeaders: {} },
|
|
8013
|
-
{ responseHeaders } = { responseHeaders: false }
|
|
8014
|
-
) {
|
|
8015
|
-
const {
|
|
8016
|
-
error,
|
|
8017
|
-
} = ContentPlatformApplicationValidator.updateInjectableTag().validate(
|
|
8018
|
-
{
|
|
8019
|
-
body,
|
|
8020
|
-
},
|
|
8021
|
-
{ abortEarly: false, allowUnknown: true }
|
|
8022
|
-
);
|
|
8023
|
-
if (error) {
|
|
8024
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
8025
|
-
}
|
|
8026
|
-
|
|
8027
|
-
// Showing warrnings if extra unknown parameters are found
|
|
8028
|
-
const {
|
|
8029
|
-
error: warrning,
|
|
8030
|
-
} = ContentPlatformApplicationValidator.updateInjectableTag().validate(
|
|
8031
|
-
{
|
|
8032
|
-
body,
|
|
8033
|
-
},
|
|
8034
|
-
{ abortEarly: false, allowUnknown: false }
|
|
8035
|
-
);
|
|
8036
|
-
if (warrning) {
|
|
8037
|
-
Logger({
|
|
8038
|
-
level: "WARN",
|
|
8039
|
-
message: `Parameter Validation warrnings for platform > Content > updateInjectableTag \n ${warrning}`,
|
|
8040
|
-
});
|
|
8041
|
-
}
|
|
8042
|
-
|
|
8043
|
-
const query_params = {};
|
|
8044
|
-
|
|
8045
|
-
const response = await PlatformAPIClient.execute(
|
|
8046
|
-
this.config,
|
|
8047
|
-
"put",
|
|
8048
|
-
`/service/platform/content/v1.0/company/${this.config.companyId}/application/${this.applicationId}/tags`,
|
|
8049
|
-
query_params,
|
|
8050
|
-
body,
|
|
8051
|
-
requestHeaders,
|
|
8052
|
-
{ responseHeaders }
|
|
8053
|
-
);
|
|
8054
|
-
|
|
8055
|
-
let responseData = response;
|
|
8056
|
-
if (responseHeaders) {
|
|
8057
|
-
responseData = response[0];
|
|
8058
|
-
}
|
|
8059
|
-
|
|
8060
|
-
const {
|
|
8061
|
-
error: res_error,
|
|
8062
|
-
} = ContentPlatformModel.TagsSchema().validate(responseData, {
|
|
8063
|
-
abortEarly: false,
|
|
8064
|
-
allowUnknown: true,
|
|
8065
|
-
});
|
|
8066
|
-
|
|
8067
|
-
if (res_error) {
|
|
8068
|
-
if (this.config.options.strictResponseCheck === true) {
|
|
8069
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
8070
|
-
} else {
|
|
8071
|
-
Logger({
|
|
8072
|
-
level: "WARN",
|
|
8073
|
-
message: `Response Validation Warnings for platform > Content > updateInjectableTag \n ${res_error}`,
|
|
8074
|
-
});
|
|
8075
|
-
}
|
|
8076
|
-
}
|
|
8077
|
-
|
|
8078
|
-
return response;
|
|
8079
|
-
}
|
|
8080
|
-
|
|
8081
8316
|
/**
|
|
8082
8317
|
* @param {ContentPlatformApplicationValidator.UpdateLandingPageParam} arg
|
|
8083
8318
|
* - Arg object
|
|
@@ -28,6 +28,10 @@ export = ContentPlatformApplicationValidator;
|
|
|
28
28
|
* @typedef CreateAnnouncementParam
|
|
29
29
|
* @property {ContentPlatformModel.AdminAnnouncementSchema} body
|
|
30
30
|
*/
|
|
31
|
+
/**
|
|
32
|
+
* @typedef CreateAppAssociationParam
|
|
33
|
+
* @property {ContentPlatformModel.AppAssociationWriteBody} body
|
|
34
|
+
*/
|
|
31
35
|
/**
|
|
32
36
|
* @typedef CreateAppCustomFieldDefinitionParam
|
|
33
37
|
* @property {string} resource
|
|
@@ -78,6 +82,7 @@ export = ContentPlatformApplicationValidator;
|
|
|
78
82
|
* @typedef DeleteAnnouncementParam
|
|
79
83
|
* @property {string} announcementId - ID allotted to the announcement.
|
|
80
84
|
*/
|
|
85
|
+
/** @typedef DeleteAppAssociationParam */
|
|
81
86
|
/**
|
|
82
87
|
* @typedef DeleteAppCustomFieldDefinitionBySlugParam
|
|
83
88
|
* @property {string} slug
|
|
@@ -177,6 +182,7 @@ export = ContentPlatformApplicationValidator;
|
|
|
177
182
|
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
178
183
|
* Default value is 10.
|
|
179
184
|
*/
|
|
185
|
+
/** @typedef GetAppAssociationParam */
|
|
180
186
|
/**
|
|
181
187
|
* @typedef GetAppCustomFieldDefinitionByResourceParam
|
|
182
188
|
* @property {string} pageNo
|
|
@@ -405,6 +411,10 @@ export = ContentPlatformApplicationValidator;
|
|
|
405
411
|
* @property {string} announcementId - ID allotted to the announcement.
|
|
406
412
|
* @property {ContentPlatformModel.ScheduleSchema} body
|
|
407
413
|
*/
|
|
414
|
+
/**
|
|
415
|
+
* @typedef UpdateAppAssociationParam
|
|
416
|
+
* @property {ContentPlatformModel.AppAssociationWriteBody} body
|
|
417
|
+
*/
|
|
408
418
|
/**
|
|
409
419
|
* @typedef UpdateAppCustomFieldByResourceSlugParam
|
|
410
420
|
* @property {string} resource
|
|
@@ -455,10 +465,6 @@ export = ContentPlatformApplicationValidator;
|
|
|
455
465
|
* @property {string} id - ID allotted to an FAQ category.
|
|
456
466
|
* @property {ContentPlatformModel.UpdateFaqCategoryRequestSchema} body
|
|
457
467
|
*/
|
|
458
|
-
/**
|
|
459
|
-
* @typedef UpdateInjectableTagParam
|
|
460
|
-
* @property {ContentPlatformModel.CreateTagRequestSchema} body
|
|
461
|
-
*/
|
|
462
468
|
/**
|
|
463
469
|
* @typedef UpdateLandingPageParam
|
|
464
470
|
* @property {string} id - ID allotted to a landing page.
|
|
@@ -521,6 +527,8 @@ declare class ContentPlatformApplicationValidator {
|
|
|
521
527
|
static bulkUnPublishApplicationLanguage(): BulkUnPublishApplicationLanguageParam;
|
|
522
528
|
/** @returns {CreateAnnouncementParam} */
|
|
523
529
|
static createAnnouncement(): CreateAnnouncementParam;
|
|
530
|
+
/** @returns {CreateAppAssociationParam} */
|
|
531
|
+
static createAppAssociation(): CreateAppAssociationParam;
|
|
524
532
|
/** @returns {CreateAppCustomFieldDefinitionParam} */
|
|
525
533
|
static createAppCustomFieldDefinition(): CreateAppCustomFieldDefinitionParam;
|
|
526
534
|
/** @returns {CreateAppCustomObjectBySlugParam} */
|
|
@@ -545,6 +553,8 @@ declare class ContentPlatformApplicationValidator {
|
|
|
545
553
|
static createTranslateUILabels(): CreateTranslateUILabelsParam;
|
|
546
554
|
/** @returns {DeleteAnnouncementParam} */
|
|
547
555
|
static deleteAnnouncement(): DeleteAnnouncementParam;
|
|
556
|
+
/** @returns {DeleteAppAssociationParam} */
|
|
557
|
+
static deleteAppAssociation(): any;
|
|
548
558
|
/** @returns {DeleteAppCustomFieldDefinitionBySlugParam} */
|
|
549
559
|
static deleteAppCustomFieldDefinitionBySlug(): DeleteAppCustomFieldDefinitionBySlugParam;
|
|
550
560
|
/** @returns {DeleteAppCustomObjectBySlugParam} */
|
|
@@ -587,6 +597,8 @@ declare class ContentPlatformApplicationValidator {
|
|
|
587
597
|
static getAnnouncementById(): GetAnnouncementByIdParam;
|
|
588
598
|
/** @returns {GetAnnouncementsListParam} */
|
|
589
599
|
static getAnnouncementsList(): GetAnnouncementsListParam;
|
|
600
|
+
/** @returns {GetAppAssociationParam} */
|
|
601
|
+
static getAppAssociation(): any;
|
|
590
602
|
/** @returns {GetAppCustomFieldDefinitionByResourceParam} */
|
|
591
603
|
static getAppCustomFieldDefinitionByResource(): GetAppCustomFieldDefinitionByResourceParam;
|
|
592
604
|
/** @returns {GetAppCustomFieldDefinitionBySlugParam} */
|
|
@@ -683,6 +695,8 @@ declare class ContentPlatformApplicationValidator {
|
|
|
683
695
|
static updateAnnouncement(): UpdateAnnouncementParam;
|
|
684
696
|
/** @returns {UpdateAnnouncementScheduleParam} */
|
|
685
697
|
static updateAnnouncementSchedule(): UpdateAnnouncementScheduleParam;
|
|
698
|
+
/** @returns {UpdateAppAssociationParam} */
|
|
699
|
+
static updateAppAssociation(): UpdateAppAssociationParam;
|
|
686
700
|
/** @returns {UpdateAppCustomFieldByResourceSlugParam} */
|
|
687
701
|
static updateAppCustomFieldByResourceSlug(): UpdateAppCustomFieldByResourceSlugParam;
|
|
688
702
|
/** @returns {UpdateAppCustomFieldDefinitionBySlugParam} */
|
|
@@ -701,8 +715,6 @@ declare class ContentPlatformApplicationValidator {
|
|
|
701
715
|
static updateFaq(): UpdateFaqParam;
|
|
702
716
|
/** @returns {UpdateFaqCategoryParam} */
|
|
703
717
|
static updateFaqCategory(): UpdateFaqCategoryParam;
|
|
704
|
-
/** @returns {UpdateInjectableTagParam} */
|
|
705
|
-
static updateInjectableTag(): UpdateInjectableTagParam;
|
|
706
718
|
/** @returns {UpdateLandingPageParam} */
|
|
707
719
|
static updateLandingPage(): UpdateLandingPageParam;
|
|
708
720
|
/** @returns {UpdateLegalInformationParam} */
|
|
@@ -725,7 +737,7 @@ declare class ContentPlatformApplicationValidator {
|
|
|
725
737
|
static upsertApplicationResourceTranslationInBulk(): UpsertApplicationResourceTranslationInBulkParam;
|
|
726
738
|
}
|
|
727
739
|
declare namespace ContentPlatformApplicationValidator {
|
|
728
|
-
export { AddApplicationLanguageParam, AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, BulkUnPublishApplicationLanguageParam, CreateAnnouncementParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateApplicationResourceTranslationParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreateSEOMarkupSchemaParam, CreateTranslateUILabelsParam, DeleteAnnouncementParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteApplicationLanguageParam, DeleteApplicationResourceTranslationParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetApplicationLanguagesParam, GetApplicationResourceTranslationsParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSupportInformationParam, GetTagsTemplateParam, GetTranslateUILabelsParam, GetTranslateUILabelsByIdParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateApplicationLanguageStatusParam, UpdateApplicationResourceTranslationParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam,
|
|
740
|
+
export { AddApplicationLanguageParam, AddDataLoaderParam, AddFaqParam, AddInjectableTagParam, AddPathRedirectionRulesParam, BulkUnPublishApplicationLanguageParam, CreateAnnouncementParam, CreateAppAssociationParam, CreateAppCustomFieldDefinitionParam, CreateAppCustomObjectBySlugParam, CreateAppCustomObjectDefinitionParam, CreateApplicationResourceTranslationParam, CreateBlogParam, CreateFaqCategoryParam, CreateLandingPageParam, CreateNavigationParam, CreatePageParam, CreateSEOMarkupSchemaParam, CreateTranslateUILabelsParam, DeleteAnnouncementParam, DeleteAppAssociationParam, DeleteAppCustomFieldDefinitionBySlugParam, DeleteAppCustomObjectBySlugParam, DeleteAppCustomObjectDefinitionBySlugParam, DeleteApplicationLanguageParam, DeleteApplicationResourceTranslationParam, DeleteBlogParam, DeleteDataLoaderParam, DeleteFaqParam, DeleteFaqCategoryParam, DeleteLandingPageParam, DeleteNavigationParam, DeletePageParam, DeletePathRedirectionRulesParam, DeleteSEOMarkupSchemaParam, EditDataLoaderParam, EditInjectableTagParam, EditSEOMarkupSchemaParam, ExportAppCustomObjectEntriesBySlugParam, GenerateSEOTitleParam, GetAnnouncementByIdParam, GetAnnouncementsListParam, GetAppAssociationParam, GetAppCustomFieldDefinitionByResourceParam, GetAppCustomFieldDefinitionBySlugParam, GetAppCustomFieldDefinitionsParam, GetAppCustomFieldTypesParam, GetAppCustomFieldsByResourceSlugParam, GetAppCustomObjectBySlugParam, GetAppCustomObjectDefinitionBySlugParam, GetAppCustomObjectDefinitionsParam, GetAppCustomObjectsBySlugParam, GetAppJobsParam, GetAppResourcesParam, GetApplicationLanguagesParam, GetApplicationResourceTranslationsParam, GetBlogBySlugParam, GetBlogsParam, GetDataLoadersParam, GetDataLoadersByServiceParam, GetDefaultNavigationsParam, GetDefaultSEOMarkupSchemaParam, GetFaqByIdOrSlugParam, GetFaqCategoriesParam, GetFaqCategoryBySlugOrIdParam, GetFaqsByCategoryIdOrSlugParam, GetInjectableTagsParam, GetLandingPagesParam, GetLegalInformationParam, GetNavigationBySlugParam, GetNavigationsParam, GetPageBySlugParam, GetPageMetaParam, GetPageSpecParam, GetPagesParam, GetPathRedirectionRuleParam, GetPathRedirectionRulesParam, GetSEOConfigurationParam, GetSEOMarkupSchemaParam, GetSEOMarkupSchemasParam, GetSupportInformationParam, GetTagsTemplateParam, GetTranslateUILabelsParam, GetTranslateUILabelsByIdParam, ImportAppCustomObjectEntriesBySlugParam, RemoveInjectableTagParam, ResetDataLoaderParam, SampleAppCustomObjectBulkEntryBySlugParam, SelectDataLoaderParam, UpdateAnnouncementParam, UpdateAnnouncementScheduleParam, UpdateAppAssociationParam, UpdateAppCustomFieldByResourceSlugParam, UpdateAppCustomFieldDefinitionBySlugParam, UpdateAppCustomObjectBySlugParam, UpdateAppCustomObjectDefinitionBySlugParam, UpdateApplicationLanguageStatusParam, UpdateApplicationResourceTranslationParam, UpdateBlogParam, UpdateFaqParam, UpdateFaqCategoryParam, UpdateLandingPageParam, UpdateLegalInformationParam, UpdateNavigationParam, UpdatePageParam, UpdatePagePreviewParam, UpdatePathRedirectionRulesParam, UpdateSEOConfigurationParam, UpdateSupportInformationParam, UpdateTranslateUILabelsParam, UpsertApplicationResourceTranslationInBulkParam };
|
|
729
741
|
}
|
|
730
742
|
type AddApplicationLanguageParam = {
|
|
731
743
|
body: ContentPlatformModel.ApplicationLanguageCreate;
|
|
@@ -752,6 +764,9 @@ type BulkUnPublishApplicationLanguageParam = {
|
|
|
752
764
|
type CreateAnnouncementParam = {
|
|
753
765
|
body: ContentPlatformModel.AdminAnnouncementSchema;
|
|
754
766
|
};
|
|
767
|
+
type CreateAppAssociationParam = {
|
|
768
|
+
body: ContentPlatformModel.AppAssociationWriteBody;
|
|
769
|
+
};
|
|
755
770
|
type CreateAppCustomFieldDefinitionParam = {
|
|
756
771
|
resource: string;
|
|
757
772
|
body: ContentPlatformModel.CustomFieldDefinitionRequestSchema;
|
|
@@ -1231,6 +1246,9 @@ type UpdateAnnouncementScheduleParam = {
|
|
|
1231
1246
|
announcementId: string;
|
|
1232
1247
|
body: ContentPlatformModel.ScheduleSchema;
|
|
1233
1248
|
};
|
|
1249
|
+
type UpdateAppAssociationParam = {
|
|
1250
|
+
body: ContentPlatformModel.AppAssociationWriteBody;
|
|
1251
|
+
};
|
|
1234
1252
|
type UpdateAppCustomFieldByResourceSlugParam = {
|
|
1235
1253
|
resource: string;
|
|
1236
1254
|
resourceSlug: string;
|
|
@@ -1284,9 +1302,6 @@ type UpdateFaqCategoryParam = {
|
|
|
1284
1302
|
id: string;
|
|
1285
1303
|
body: ContentPlatformModel.UpdateFaqCategoryRequestSchema;
|
|
1286
1304
|
};
|
|
1287
|
-
type UpdateInjectableTagParam = {
|
|
1288
|
-
body: ContentPlatformModel.CreateTagRequestSchema;
|
|
1289
|
-
};
|
|
1290
1305
|
type UpdateLandingPageParam = {
|
|
1291
1306
|
/**
|
|
1292
1307
|
* - ID allotted to a landing page.
|
|
@@ -1342,6 +1357,8 @@ type UpdateTranslateUILabelsParam = {
|
|
|
1342
1357
|
type UpsertApplicationResourceTranslationInBulkParam = {
|
|
1343
1358
|
body: ContentPlatformModel.ResourceTranslationList;
|
|
1344
1359
|
};
|
|
1360
|
+
type DeleteAppAssociationParam = any;
|
|
1361
|
+
type GetAppAssociationParam = any;
|
|
1345
1362
|
type GetAppCustomFieldTypesParam = any;
|
|
1346
1363
|
type GetAppResourcesParam = any;
|
|
1347
1364
|
type GetApplicationLanguagesParam = any;
|
|
@@ -38,6 +38,11 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
38
38
|
* @property {ContentPlatformModel.AdminAnnouncementSchema} body
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
|
+
/**
|
|
42
|
+
* @typedef CreateAppAssociationParam
|
|
43
|
+
* @property {ContentPlatformModel.AppAssociationWriteBody} body
|
|
44
|
+
*/
|
|
45
|
+
|
|
41
46
|
/**
|
|
42
47
|
* @typedef CreateAppCustomFieldDefinitionParam
|
|
43
48
|
* @property {string} resource
|
|
@@ -100,6 +105,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
100
105
|
* @property {string} announcementId - ID allotted to the announcement.
|
|
101
106
|
*/
|
|
102
107
|
|
|
108
|
+
/** @typedef DeleteAppAssociationParam */
|
|
109
|
+
|
|
103
110
|
/**
|
|
104
111
|
* @typedef DeleteAppCustomFieldDefinitionBySlugParam
|
|
105
112
|
* @property {string} slug
|
|
@@ -220,6 +227,8 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
220
227
|
* Default value is 10.
|
|
221
228
|
*/
|
|
222
229
|
|
|
230
|
+
/** @typedef GetAppAssociationParam */
|
|
231
|
+
|
|
223
232
|
/**
|
|
224
233
|
* @typedef GetAppCustomFieldDefinitionByResourceParam
|
|
225
234
|
* @property {string} pageNo
|
|
@@ -496,6 +505,11 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
496
505
|
* @property {ContentPlatformModel.ScheduleSchema} body
|
|
497
506
|
*/
|
|
498
507
|
|
|
508
|
+
/**
|
|
509
|
+
* @typedef UpdateAppAssociationParam
|
|
510
|
+
* @property {ContentPlatformModel.AppAssociationWriteBody} body
|
|
511
|
+
*/
|
|
512
|
+
|
|
499
513
|
/**
|
|
500
514
|
* @typedef UpdateAppCustomFieldByResourceSlugParam
|
|
501
515
|
* @property {string} resource
|
|
@@ -555,11 +569,6 @@ const ContentPlatformModel = require("./ContentPlatformModel");
|
|
|
555
569
|
* @property {ContentPlatformModel.UpdateFaqCategoryRequestSchema} body
|
|
556
570
|
*/
|
|
557
571
|
|
|
558
|
-
/**
|
|
559
|
-
* @typedef UpdateInjectableTagParam
|
|
560
|
-
* @property {ContentPlatformModel.CreateTagRequestSchema} body
|
|
561
|
-
*/
|
|
562
|
-
|
|
563
572
|
/**
|
|
564
573
|
* @typedef UpdateLandingPageParam
|
|
565
574
|
* @property {string} id - ID allotted to a landing page.
|
|
@@ -668,6 +677,13 @@ class ContentPlatformApplicationValidator {
|
|
|
668
677
|
}).required();
|
|
669
678
|
}
|
|
670
679
|
|
|
680
|
+
/** @returns {CreateAppAssociationParam} */
|
|
681
|
+
static createAppAssociation() {
|
|
682
|
+
return Joi.object({
|
|
683
|
+
body: ContentPlatformModel.AppAssociationWriteBody().required(),
|
|
684
|
+
}).required();
|
|
685
|
+
}
|
|
686
|
+
|
|
671
687
|
/** @returns {CreateAppCustomFieldDefinitionParam} */
|
|
672
688
|
static createAppCustomFieldDefinition() {
|
|
673
689
|
return Joi.object({
|
|
@@ -754,6 +770,11 @@ class ContentPlatformApplicationValidator {
|
|
|
754
770
|
}).required();
|
|
755
771
|
}
|
|
756
772
|
|
|
773
|
+
/** @returns {DeleteAppAssociationParam} */
|
|
774
|
+
static deleteAppAssociation() {
|
|
775
|
+
return Joi.object({}).required();
|
|
776
|
+
}
|
|
777
|
+
|
|
757
778
|
/** @returns {DeleteAppCustomFieldDefinitionBySlugParam} */
|
|
758
779
|
static deleteAppCustomFieldDefinitionBySlug() {
|
|
759
780
|
return Joi.object({
|
|
@@ -910,6 +931,11 @@ class ContentPlatformApplicationValidator {
|
|
|
910
931
|
}).required();
|
|
911
932
|
}
|
|
912
933
|
|
|
934
|
+
/** @returns {GetAppAssociationParam} */
|
|
935
|
+
static getAppAssociation() {
|
|
936
|
+
return Joi.object({}).required();
|
|
937
|
+
}
|
|
938
|
+
|
|
913
939
|
/** @returns {GetAppCustomFieldDefinitionByResourceParam} */
|
|
914
940
|
static getAppCustomFieldDefinitionByResource() {
|
|
915
941
|
return Joi.object({
|
|
@@ -1269,6 +1295,13 @@ class ContentPlatformApplicationValidator {
|
|
|
1269
1295
|
}).required();
|
|
1270
1296
|
}
|
|
1271
1297
|
|
|
1298
|
+
/** @returns {UpdateAppAssociationParam} */
|
|
1299
|
+
static updateAppAssociation() {
|
|
1300
|
+
return Joi.object({
|
|
1301
|
+
body: ContentPlatformModel.AppAssociationWriteBody().required(),
|
|
1302
|
+
}).required();
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1272
1305
|
/** @returns {UpdateAppCustomFieldByResourceSlugParam} */
|
|
1273
1306
|
static updateAppCustomFieldByResourceSlug() {
|
|
1274
1307
|
return Joi.object({
|
|
@@ -1346,13 +1379,6 @@ class ContentPlatformApplicationValidator {
|
|
|
1346
1379
|
}).required();
|
|
1347
1380
|
}
|
|
1348
1381
|
|
|
1349
|
-
/** @returns {UpdateInjectableTagParam} */
|
|
1350
|
-
static updateInjectableTag() {
|
|
1351
|
-
return Joi.object({
|
|
1352
|
-
body: ContentPlatformModel.CreateTagRequestSchema().required(),
|
|
1353
|
-
}).required();
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
1382
|
/** @returns {UpdateLandingPageParam} */
|
|
1357
1383
|
static updateLandingPage() {
|
|
1358
1384
|
return Joi.object({
|