@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.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/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +53 -60
- package/sdk/application/Cart/CartApplicationClient.js +53 -130
- package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
- package/sdk/application/Cart/CartApplicationModel.js +159 -380
- package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
- package/sdk/application/Cart/CartApplicationValidator.js +18 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
- package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
- package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
- package/sdk/application/Common/CommonApplicationClient.js +5 -6
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +33 -23
- package/sdk/application/Content/ContentApplicationClient.js +75 -54
- package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
- package/sdk/application/Content/ContentApplicationModel.js +32 -83
- package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
- package/sdk/application/Content/ContentApplicationValidator.js +10 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
- package/sdk/application/Lead/LeadApplicationClient.js +3 -2
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
- package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
- package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
- package/sdk/application/Order/OrderApplicationClient.js +13 -96
- package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
- package/sdk/application/Order/OrderApplicationModel.js +81 -279
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
- package/sdk/application/Order/OrderApplicationValidator.js +2 -15
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
- package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
- package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
- package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
- package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +0 -1
- package/sdk/application/index.js +0 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1304 -4979
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +124 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -15
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
- package/sdk/platform/Order/OrderPlatformClient.js +245 -597
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
- package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +341 -602
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +284 -483
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +5 -791
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
|
@@ -16,11 +16,11 @@ class Content {
|
|
|
16
16
|
this._relativeUrls = {
|
|
17
17
|
getAnnouncements: "/service/application/content/v1.0/announcements",
|
|
18
18
|
getBlog: "/service/application/content/v1.0/blogs/{slug}",
|
|
19
|
-
getBlogs: "/service/application/content/v1.0/blogs",
|
|
20
|
-
|
|
21
|
-
"/service/application/content/
|
|
22
|
-
|
|
23
|
-
"/service/application/content/
|
|
19
|
+
getBlogs: "/service/application/content/v1.0/blogs/",
|
|
20
|
+
getCustomFields:
|
|
21
|
+
"/service/application/content/v1.0/metafields/{resource}/{resource_id}",
|
|
22
|
+
getCustomObject:
|
|
23
|
+
"/service/application/content/v1.0/metaobjects/{metaobject_id}",
|
|
24
24
|
getDataLoaders: "/service/application/content/v1.0/data-loader",
|
|
25
25
|
getFaqBySlug: "/service/application/content/v1.0/faq/{slug}",
|
|
26
26
|
getFaqCategories: "/service/application/content/v1.0/faq/categories",
|
|
@@ -31,13 +31,13 @@ class Content {
|
|
|
31
31
|
"/service/application/content/v1.0/faq/category/{slug}/faqs",
|
|
32
32
|
getLandingPage: "/service/application/content/v1.0/landing-page",
|
|
33
33
|
getLegalInformation: "/service/application/content/v1.0/legal",
|
|
34
|
-
getNavigations: "/service/application/content/v1.0/navigations",
|
|
34
|
+
getNavigations: "/service/application/content/v1.0/navigations/",
|
|
35
35
|
getPage: "/service/application/content/v2.0/pages/{slug}",
|
|
36
|
-
getPages: "/service/application/content/v2.0/pages",
|
|
36
|
+
getPages: "/service/application/content/v2.0/pages/",
|
|
37
37
|
getSEOConfiguration: "/service/application/content/v1.0/seo",
|
|
38
38
|
getSEOMarkupSchemas: "/service/application/content/v1.0/seo/schema",
|
|
39
39
|
getSlideshow: "/service/application/content/v1.0/slideshow/{slug}",
|
|
40
|
-
getSlideshows: "/service/application/content/v1.0/slideshow",
|
|
40
|
+
getSlideshows: "/service/application/content/v1.0/slideshow/",
|
|
41
41
|
getSupportInformation: "/service/application/content/v1.0/support",
|
|
42
42
|
getTags: "/service/application/content/v1.0/tags",
|
|
43
43
|
};
|
|
@@ -147,11 +147,11 @@ class Content {
|
|
|
147
147
|
* @description: Get information related to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
|
|
148
148
|
*/
|
|
149
149
|
async getBlog(
|
|
150
|
-
{ slug, rootId,
|
|
150
|
+
{ slug, rootId, requestHeaders } = { requestHeaders: {} },
|
|
151
151
|
{ responseHeaders } = { responseHeaders: false }
|
|
152
152
|
) {
|
|
153
153
|
const { error } = ContentApplicationValidator.getBlog().validate(
|
|
154
|
-
{ slug, rootId
|
|
154
|
+
{ slug, rootId },
|
|
155
155
|
{ abortEarly: false, allowUnknown: true }
|
|
156
156
|
);
|
|
157
157
|
if (error) {
|
|
@@ -160,7 +160,7 @@ class Content {
|
|
|
160
160
|
|
|
161
161
|
// Showing warrnings if extra unknown parameters are found
|
|
162
162
|
const { error: warrning } = ContentApplicationValidator.getBlog().validate(
|
|
163
|
-
{ slug, rootId
|
|
163
|
+
{ slug, rootId },
|
|
164
164
|
{ abortEarly: false, allowUnknown: false }
|
|
165
165
|
);
|
|
166
166
|
if (warrning) {
|
|
@@ -172,7 +172,6 @@ class Content {
|
|
|
172
172
|
|
|
173
173
|
const query_params = {};
|
|
174
174
|
query_params["root_id"] = rootId;
|
|
175
|
-
query_params["preview"] = preview;
|
|
176
175
|
|
|
177
176
|
const xHeaders = {};
|
|
178
177
|
|
|
@@ -219,7 +218,7 @@ class Content {
|
|
|
219
218
|
* @param {ContentApplicationValidator.GetBlogsParam} arg - Arg object.
|
|
220
219
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
221
220
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
222
|
-
* @returns {Promise<ContentApplicationModel.
|
|
221
|
+
* @returns {Promise<ContentApplicationModel.BlogGetResponse>} - Success response
|
|
223
222
|
* @name getBlogs
|
|
224
223
|
* @summary: List blogs
|
|
225
224
|
* @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
|
|
@@ -276,7 +275,7 @@ class Content {
|
|
|
276
275
|
|
|
277
276
|
const {
|
|
278
277
|
error: res_error,
|
|
279
|
-
} = ContentApplicationModel.
|
|
278
|
+
} = ContentApplicationModel.BlogGetResponse().validate(responseData, {
|
|
280
279
|
abortEarly: false,
|
|
281
280
|
allowUnknown: true,
|
|
282
281
|
});
|
|
@@ -296,26 +295,22 @@ class Content {
|
|
|
296
295
|
}
|
|
297
296
|
|
|
298
297
|
/**
|
|
299
|
-
* @param {ContentApplicationValidator.
|
|
300
|
-
* - Arg object.
|
|
301
|
-
*
|
|
298
|
+
* @param {ContentApplicationValidator.GetCustomFieldsParam} arg - Arg object.
|
|
302
299
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
303
300
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
304
301
|
* @returns {Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>}
|
|
305
302
|
* - Success response
|
|
306
303
|
*
|
|
307
|
-
* @name
|
|
308
|
-
* @summary: Get list of custom fields
|
|
309
|
-
* @description:
|
|
304
|
+
* @name getCustomFields
|
|
305
|
+
* @summary: Get list of custom fields
|
|
306
|
+
* @description: List custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
|
|
310
307
|
*/
|
|
311
|
-
async
|
|
312
|
-
{ resource,
|
|
308
|
+
async getCustomFields(
|
|
309
|
+
{ resource, resourceId, requestHeaders } = { requestHeaders: {} },
|
|
313
310
|
{ responseHeaders } = { responseHeaders: false }
|
|
314
311
|
) {
|
|
315
|
-
const {
|
|
316
|
-
|
|
317
|
-
} = ContentApplicationValidator.getCustomFieldsByResourceId().validate(
|
|
318
|
-
{ resource, resourceSlug },
|
|
312
|
+
const { error } = ContentApplicationValidator.getCustomFields().validate(
|
|
313
|
+
{ resource, resourceId },
|
|
319
314
|
{ abortEarly: false, allowUnknown: true }
|
|
320
315
|
);
|
|
321
316
|
if (error) {
|
|
@@ -325,14 +320,14 @@ class Content {
|
|
|
325
320
|
// Showing warrnings if extra unknown parameters are found
|
|
326
321
|
const {
|
|
327
322
|
error: warrning,
|
|
328
|
-
} = ContentApplicationValidator.
|
|
329
|
-
{ resource,
|
|
323
|
+
} = ContentApplicationValidator.getCustomFields().validate(
|
|
324
|
+
{ resource, resourceId },
|
|
330
325
|
{ abortEarly: false, allowUnknown: false }
|
|
331
326
|
);
|
|
332
327
|
if (warrning) {
|
|
333
328
|
Logger({
|
|
334
329
|
level: "WARN",
|
|
335
|
-
message: `Parameter Validation warrnings for application > Content >
|
|
330
|
+
message: `Parameter Validation warrnings for application > Content > getCustomFields \n ${warrning}`,
|
|
336
331
|
});
|
|
337
332
|
}
|
|
338
333
|
|
|
@@ -344,8 +339,8 @@ class Content {
|
|
|
344
339
|
this._conf,
|
|
345
340
|
"get",
|
|
346
341
|
constructUrl({
|
|
347
|
-
url: this._urls["
|
|
348
|
-
params: { resource,
|
|
342
|
+
url: this._urls["getCustomFields"],
|
|
343
|
+
params: { resource, resourceId },
|
|
349
344
|
}),
|
|
350
345
|
query_params,
|
|
351
346
|
undefined,
|
|
@@ -371,7 +366,7 @@ class Content {
|
|
|
371
366
|
} else {
|
|
372
367
|
Logger({
|
|
373
368
|
level: "WARN",
|
|
374
|
-
message: `Response Validation Warnings for application > Content >
|
|
369
|
+
message: `Response Validation Warnings for application > Content > getCustomFields \n ${res_error}`,
|
|
375
370
|
});
|
|
376
371
|
}
|
|
377
372
|
}
|
|
@@ -380,23 +375,21 @@ class Content {
|
|
|
380
375
|
}
|
|
381
376
|
|
|
382
377
|
/**
|
|
383
|
-
* @param {ContentApplicationValidator.
|
|
378
|
+
* @param {ContentApplicationValidator.GetCustomObjectParam} arg - Arg object.
|
|
384
379
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
385
380
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
386
381
|
* @returns {Promise<ContentApplicationModel.CustomObjectByIdSchema>} -
|
|
387
382
|
* Success response
|
|
388
|
-
* @name
|
|
389
|
-
* @summary: Get custom object
|
|
390
|
-
* @description:
|
|
383
|
+
* @name getCustomObject
|
|
384
|
+
* @summary: Get custom object
|
|
385
|
+
* @description: Get details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObject/).
|
|
391
386
|
*/
|
|
392
|
-
async
|
|
393
|
-
{
|
|
387
|
+
async getCustomObject(
|
|
388
|
+
{ metaobjectId, requestHeaders } = { requestHeaders: {} },
|
|
394
389
|
{ responseHeaders } = { responseHeaders: false }
|
|
395
390
|
) {
|
|
396
|
-
const {
|
|
397
|
-
|
|
398
|
-
} = ContentApplicationValidator.getCustomObjectBySlug().validate(
|
|
399
|
-
{ definitionSlug, slug },
|
|
391
|
+
const { error } = ContentApplicationValidator.getCustomObject().validate(
|
|
392
|
+
{ metaobjectId },
|
|
400
393
|
{ abortEarly: false, allowUnknown: true }
|
|
401
394
|
);
|
|
402
395
|
if (error) {
|
|
@@ -406,14 +399,14 @@ class Content {
|
|
|
406
399
|
// Showing warrnings if extra unknown parameters are found
|
|
407
400
|
const {
|
|
408
401
|
error: warrning,
|
|
409
|
-
} = ContentApplicationValidator.
|
|
410
|
-
{
|
|
402
|
+
} = ContentApplicationValidator.getCustomObject().validate(
|
|
403
|
+
{ metaobjectId },
|
|
411
404
|
{ abortEarly: false, allowUnknown: false }
|
|
412
405
|
);
|
|
413
406
|
if (warrning) {
|
|
414
407
|
Logger({
|
|
415
408
|
level: "WARN",
|
|
416
|
-
message: `Parameter Validation warrnings for application > Content >
|
|
409
|
+
message: `Parameter Validation warrnings for application > Content > getCustomObject \n ${warrning}`,
|
|
417
410
|
});
|
|
418
411
|
}
|
|
419
412
|
|
|
@@ -425,8 +418,8 @@ class Content {
|
|
|
425
418
|
this._conf,
|
|
426
419
|
"get",
|
|
427
420
|
constructUrl({
|
|
428
|
-
url: this._urls["
|
|
429
|
-
params: {
|
|
421
|
+
url: this._urls["getCustomObject"],
|
|
422
|
+
params: { metaobjectId },
|
|
430
423
|
}),
|
|
431
424
|
query_params,
|
|
432
425
|
undefined,
|
|
@@ -452,7 +445,7 @@ class Content {
|
|
|
452
445
|
} else {
|
|
453
446
|
Logger({
|
|
454
447
|
level: "WARN",
|
|
455
|
-
message: `Response Validation Warnings for application > Content >
|
|
448
|
+
message: `Response Validation Warnings for application > Content > getCustomObject \n ${res_error}`,
|
|
456
449
|
});
|
|
457
450
|
}
|
|
458
451
|
}
|
|
@@ -1094,7 +1087,8 @@ class Content {
|
|
|
1094
1087
|
* @param {ContentApplicationValidator.GetNavigationsParam} arg - Arg object.
|
|
1095
1088
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1096
1089
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1097
|
-
* @returns {Promise<ContentApplicationModel.
|
|
1090
|
+
* @returns {Promise<ContentApplicationModel.NavigationGetResponse>} -
|
|
1091
|
+
* Success response
|
|
1098
1092
|
* @name getNavigations
|
|
1099
1093
|
* @summary: List navigation items
|
|
1100
1094
|
* @description: Get the navigation link items which can be powered to generate menus on application's website or equivalent mobile apps. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getNavigations/).
|
|
@@ -1151,7 +1145,7 @@ class Content {
|
|
|
1151
1145
|
|
|
1152
1146
|
const {
|
|
1153
1147
|
error: res_error,
|
|
1154
|
-
} = ContentApplicationModel.
|
|
1148
|
+
} = ContentApplicationModel.NavigationGetResponse().validate(responseData, {
|
|
1155
1149
|
abortEarly: false,
|
|
1156
1150
|
allowUnknown: true,
|
|
1157
1151
|
});
|
|
@@ -1251,7 +1245,7 @@ class Content {
|
|
|
1251
1245
|
* @param {ContentApplicationValidator.GetPagesParam} arg - Arg object.
|
|
1252
1246
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1253
1247
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1254
|
-
* @returns {Promise<ContentApplicationModel.
|
|
1248
|
+
* @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
|
|
1255
1249
|
* @name getPages
|
|
1256
1250
|
* @summary: Lists pages
|
|
1257
1251
|
* @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
|
|
@@ -1306,7 +1300,7 @@ class Content {
|
|
|
1306
1300
|
|
|
1307
1301
|
const {
|
|
1308
1302
|
error: res_error,
|
|
1309
|
-
} = ContentApplicationModel.
|
|
1303
|
+
} = ContentApplicationModel.PageGetResponse().validate(responseData, {
|
|
1310
1304
|
abortEarly: false,
|
|
1311
1305
|
allowUnknown: true,
|
|
1312
1306
|
});
|
|
@@ -1569,7 +1563,7 @@ class Content {
|
|
|
1569
1563
|
* @param {ContentApplicationValidator.GetSlideshowsParam} arg - Arg object.
|
|
1570
1564
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1571
1565
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1572
|
-
* @returns {Promise<ContentApplicationModel.
|
|
1566
|
+
* @returns {Promise<ContentApplicationModel.SlideshowGetResponse>} - Success response
|
|
1573
1567
|
* @name getSlideshows
|
|
1574
1568
|
* @summary: List Slideshows
|
|
1575
1569
|
* @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
|
|
@@ -1626,7 +1620,7 @@ class Content {
|
|
|
1626
1620
|
|
|
1627
1621
|
const {
|
|
1628
1622
|
error: res_error,
|
|
1629
|
-
} = ContentApplicationModel.
|
|
1623
|
+
} = ContentApplicationModel.SlideshowGetResponse().validate(responseData, {
|
|
1630
1624
|
abortEarly: false,
|
|
1631
1625
|
allowUnknown: true,
|
|
1632
1626
|
});
|
|
@@ -1645,6 +1639,33 @@ class Content {
|
|
|
1645
1639
|
return response;
|
|
1646
1640
|
}
|
|
1647
1641
|
|
|
1642
|
+
/**
|
|
1643
|
+
* @param {Object} arg - Arg object.
|
|
1644
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
1645
|
+
* @returns {Paginator<ContentApplicationModel.SlideshowGetResponse>}
|
|
1646
|
+
* @summary: List Slideshows
|
|
1647
|
+
* @description: List slideshows along with their details.
|
|
1648
|
+
*/
|
|
1649
|
+
getSlideshowsPaginator({ pageSize } = {}) {
|
|
1650
|
+
const paginator = new Paginator();
|
|
1651
|
+
const callback = async () => {
|
|
1652
|
+
const pageId = paginator.nextId;
|
|
1653
|
+
const pageNo = paginator.pageNo;
|
|
1654
|
+
const pageType = "number";
|
|
1655
|
+
const data = await this.getSlideshows({
|
|
1656
|
+
pageNo: pageNo,
|
|
1657
|
+
pageSize: pageSize,
|
|
1658
|
+
});
|
|
1659
|
+
paginator.setPaginator({
|
|
1660
|
+
hasNext: data.page.has_next ? true : false,
|
|
1661
|
+
nextId: data.page.next_id,
|
|
1662
|
+
});
|
|
1663
|
+
return data;
|
|
1664
|
+
};
|
|
1665
|
+
paginator.setCallback(callback.bind(this));
|
|
1666
|
+
return paginator;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1648
1669
|
/**
|
|
1649
1670
|
* @param {ContentApplicationValidator.GetSupportInformationParam} arg - Arg object.
|
|
1650
1671
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -22,11 +22,6 @@ export = ContentApplicationModel;
|
|
|
22
22
|
* @typedef SeoComponent
|
|
23
23
|
* @property {SeoSchema} [seo]
|
|
24
24
|
*/
|
|
25
|
-
/**
|
|
26
|
-
* @typedef ValidationError
|
|
27
|
-
* @property {string} message - A brief description of the error encountered.
|
|
28
|
-
* @property {string} field - The field in the request that caused the error.
|
|
29
|
-
*/
|
|
30
25
|
/**
|
|
31
26
|
* @typedef SeoSchema
|
|
32
27
|
* @property {string} [app] - Application ID - Identifier for a Sales channel.
|
|
@@ -103,7 +98,7 @@ export = ContentApplicationModel;
|
|
|
103
98
|
* @property {string} [end] - End time of schedule.
|
|
104
99
|
*/
|
|
105
100
|
/**
|
|
106
|
-
* @typedef
|
|
101
|
+
* @typedef BlogGetResponse
|
|
107
102
|
* @property {BlogSchema[]} [items] - List of blogs with details.
|
|
108
103
|
* @property {Page} [page]
|
|
109
104
|
* @property {BlogFilters} [filters]
|
|
@@ -371,7 +366,7 @@ export = ContentApplicationModel;
|
|
|
371
366
|
* @property {Object} [_custom_json] - Custom JSON object for specific use cases.
|
|
372
367
|
*/
|
|
373
368
|
/**
|
|
374
|
-
* @typedef
|
|
369
|
+
* @typedef NavigationGetResponse
|
|
375
370
|
* @property {NavigationSchema[]} [items] - List of navigation items.
|
|
376
371
|
* @property {Page} [page]
|
|
377
372
|
*/
|
|
@@ -400,7 +395,7 @@ export = ContentApplicationModel;
|
|
|
400
395
|
* links and relevant details.
|
|
401
396
|
*/
|
|
402
397
|
/**
|
|
403
|
-
* @typedef
|
|
398
|
+
* @typedef PageGetResponse
|
|
404
399
|
* @property {PageSchema[]} [items] - List of details of custom pages.
|
|
405
400
|
* @property {Page} [page]
|
|
406
401
|
*/
|
|
@@ -438,7 +433,7 @@ export = ContentApplicationModel;
|
|
|
438
433
|
* @property {string} [id] - Details containing the creator of custom page.
|
|
439
434
|
*/
|
|
440
435
|
/**
|
|
441
|
-
* @typedef
|
|
436
|
+
* @typedef SlideshowGetResponse
|
|
442
437
|
* @property {SlideshowSchema[]} [items] - Details related to slideshow/screensaver.
|
|
443
438
|
* @property {Page} [page]
|
|
444
439
|
*/
|
|
@@ -530,7 +525,7 @@ export = ContentApplicationModel;
|
|
|
530
525
|
/**
|
|
531
526
|
* @typedef CustomObjectFieldSchema
|
|
532
527
|
* @property {string} [_id] - Unique identifier of an entry.
|
|
533
|
-
* @property {string} [
|
|
528
|
+
* @property {string} [key] - Key of custom field inside custom object.
|
|
534
529
|
* @property {CustomObjectFieldValue[]} [value] - Value of custom field inside
|
|
535
530
|
* custom object.
|
|
536
531
|
* @property {string} [type] - Data type of custom field inside custom object.
|
|
@@ -539,7 +534,7 @@ export = ContentApplicationModel;
|
|
|
539
534
|
*/
|
|
540
535
|
/**
|
|
541
536
|
* @typedef CustomObjectByIdSchema
|
|
542
|
-
* @property {string} [
|
|
537
|
+
* @property {string} [_id] - Unique identifier of an entry.
|
|
543
538
|
* @property {string} [status] - String denoting whether custom object is active
|
|
544
539
|
* or inactive.
|
|
545
540
|
* @property {string} [display_name] - Unique Display name of a custom object
|
|
@@ -558,8 +553,10 @@ export = ContentApplicationModel;
|
|
|
558
553
|
* @typedef CustomFieldSchema
|
|
559
554
|
* @property {string} [_id] - Unique identifier of an entry.
|
|
560
555
|
* @property {string} [namespace] - Namespace under which custom field is present.
|
|
561
|
-
* @property {string} [
|
|
556
|
+
* @property {string} [key] - Unique identifier for a custom field.
|
|
562
557
|
* @property {string} [resource] - Type of an entity under which custom field is defined.
|
|
558
|
+
* @property {string} [creator] - Denotes where the custom field has been
|
|
559
|
+
* defined - within a company or within a sales channel.
|
|
563
560
|
* @property {CustomFieldValue[]} [value] - Array containing values of custom field.
|
|
564
561
|
* @property {string} [resource_id] - Unique identifier for the entity under
|
|
565
562
|
* which custom field is defined.
|
|
@@ -572,6 +569,7 @@ export = ContentApplicationModel;
|
|
|
572
569
|
* @property {boolean} [has_invalid_values] - Whether the custom field has invalid values.
|
|
573
570
|
* @property {Object[]} [invalid_value_errors] - Array denoting if there's a
|
|
574
571
|
* validation failure on a custom field inside a custom object.
|
|
572
|
+
* @property {string} [created_by] - Details of the owner of custom field creator.
|
|
575
573
|
* @property {boolean} [is_deleted] - Whether the custom field definition is deleted.
|
|
576
574
|
* @property {string} [created_at] - Timestamp which represent the time when
|
|
577
575
|
* data was created.
|
|
@@ -582,23 +580,6 @@ export = ContentApplicationModel;
|
|
|
582
580
|
* @typedef CustomFieldsResponseByResourceIdSchema
|
|
583
581
|
* @property {CustomFieldSchema[]} [items] - List of custom fields against a resource.
|
|
584
582
|
*/
|
|
585
|
-
/**
|
|
586
|
-
* @typedef CustomObjectListItemSchema
|
|
587
|
-
* @property {string} [_id] - Unique system generated if for a custom object
|
|
588
|
-
* @property {string} [definition_id] - Unique system generated id for a custom
|
|
589
|
-
* object definition
|
|
590
|
-
* @property {string} [status] - Flag to denote whether custom object is active or not
|
|
591
|
-
* @property {string} [updated_at] - Updation time of custom object entry
|
|
592
|
-
* @property {string} [display_name] - A custom field inside custom object used
|
|
593
|
-
* to display the entry of custom object in listing
|
|
594
|
-
* @property {CustomObjectListItemDefinationSchema} [definition]
|
|
595
|
-
* @property {number} [references]
|
|
596
|
-
*/
|
|
597
|
-
/**
|
|
598
|
-
* @typedef CustomObjectsSchema
|
|
599
|
-
* @property {CustomObjectListItemSchema[]} [items]
|
|
600
|
-
* @property {Page} [page]
|
|
601
|
-
*/
|
|
602
583
|
/**
|
|
603
584
|
* @typedef ActionPage
|
|
604
585
|
* @property {Object} [params] - Parameters that should be considered in path.
|
|
@@ -659,7 +640,7 @@ export = ContentApplicationModel;
|
|
|
659
640
|
declare class ContentApplicationModel {
|
|
660
641
|
}
|
|
661
642
|
declare namespace ContentApplicationModel {
|
|
662
|
-
export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent,
|
|
643
|
+
export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, AnnouncementSchema, ScheduleStartSchema, BlogGetResponse, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, LocaleLanguage, Language, Action, NavigationReference, ConfigurationSchema, SlideshowMedia, AnnouncementsResponseSchema, FaqResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, FAQCategorySchema, FaqSchema, GetFaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageSchema, NavigationGetResponse, Orientation, NavigationSchema, PageGetResponse, PageSchema, CreatedBySchema, SlideshowGetResponse, SlideshowSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, CustomObjectFieldValue, CustomObjectListItemDefinationSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseByResourceIdSchema, ActionPage, PageType };
|
|
663
644
|
}
|
|
664
645
|
/** @returns {ApplicationLegal} */
|
|
665
646
|
declare function ApplicationLegal(): ApplicationLegal;
|
|
@@ -720,18 +701,6 @@ declare function SeoComponent(): SeoComponent;
|
|
|
720
701
|
type SeoComponent = {
|
|
721
702
|
seo?: SeoSchema;
|
|
722
703
|
};
|
|
723
|
-
/** @returns {ValidationError} */
|
|
724
|
-
declare function ValidationError(): ValidationError;
|
|
725
|
-
type ValidationError = {
|
|
726
|
-
/**
|
|
727
|
-
* - A brief description of the error encountered.
|
|
728
|
-
*/
|
|
729
|
-
message: string;
|
|
730
|
-
/**
|
|
731
|
-
* - The field in the request that caused the error.
|
|
732
|
-
*/
|
|
733
|
-
field: string;
|
|
734
|
-
};
|
|
735
704
|
/** @returns {SeoSchema} */
|
|
736
705
|
declare function SeoSchema(): SeoSchema;
|
|
737
706
|
type SeoSchema = {
|
|
@@ -921,9 +890,9 @@ type ScheduleStartSchema = {
|
|
|
921
890
|
*/
|
|
922
891
|
end?: string;
|
|
923
892
|
};
|
|
924
|
-
/** @returns {
|
|
925
|
-
declare function
|
|
926
|
-
type
|
|
893
|
+
/** @returns {BlogGetResponse} */
|
|
894
|
+
declare function BlogGetResponse(): BlogGetResponse;
|
|
895
|
+
type BlogGetResponse = {
|
|
927
896
|
/**
|
|
928
897
|
* - List of blogs with details.
|
|
929
898
|
*/
|
|
@@ -1593,9 +1562,9 @@ type LandingPageSchema = {
|
|
|
1593
1562
|
*/
|
|
1594
1563
|
_custom_json?: any;
|
|
1595
1564
|
};
|
|
1596
|
-
/** @returns {
|
|
1597
|
-
declare function
|
|
1598
|
-
type
|
|
1565
|
+
/** @returns {NavigationGetResponse} */
|
|
1566
|
+
declare function NavigationGetResponse(): NavigationGetResponse;
|
|
1567
|
+
type NavigationGetResponse = {
|
|
1599
1568
|
/**
|
|
1600
1569
|
* - List of navigation items.
|
|
1601
1570
|
*/
|
|
@@ -1658,9 +1627,9 @@ type NavigationSchema = {
|
|
|
1658
1627
|
*/
|
|
1659
1628
|
navigation?: NavigationReference[];
|
|
1660
1629
|
};
|
|
1661
|
-
/** @returns {
|
|
1662
|
-
declare function
|
|
1663
|
-
type
|
|
1630
|
+
/** @returns {PageGetResponse} */
|
|
1631
|
+
declare function PageGetResponse(): PageGetResponse;
|
|
1632
|
+
type PageGetResponse = {
|
|
1664
1633
|
/**
|
|
1665
1634
|
* - List of details of custom pages.
|
|
1666
1635
|
*/
|
|
@@ -1756,9 +1725,9 @@ type CreatedBySchema = {
|
|
|
1756
1725
|
*/
|
|
1757
1726
|
id?: string;
|
|
1758
1727
|
};
|
|
1759
|
-
/** @returns {
|
|
1760
|
-
declare function
|
|
1761
|
-
type
|
|
1728
|
+
/** @returns {SlideshowGetResponse} */
|
|
1729
|
+
declare function SlideshowGetResponse(): SlideshowGetResponse;
|
|
1730
|
+
type SlideshowGetResponse = {
|
|
1762
1731
|
/**
|
|
1763
1732
|
* - Details related to slideshow/screensaver.
|
|
1764
1733
|
*/
|
|
@@ -1993,9 +1962,9 @@ type CustomObjectFieldSchema = {
|
|
|
1993
1962
|
*/
|
|
1994
1963
|
_id?: string;
|
|
1995
1964
|
/**
|
|
1996
|
-
* -
|
|
1965
|
+
* - Key of custom field inside custom object.
|
|
1997
1966
|
*/
|
|
1998
|
-
|
|
1967
|
+
key?: string;
|
|
1999
1968
|
/**
|
|
2000
1969
|
* - Value of custom field inside
|
|
2001
1970
|
* custom object.
|
|
@@ -2017,7 +1986,7 @@ type CustomObjectByIdSchema = {
|
|
|
2017
1986
|
/**
|
|
2018
1987
|
* - Unique identifier of an entry.
|
|
2019
1988
|
*/
|
|
2020
|
-
|
|
1989
|
+
_id?: string;
|
|
2021
1990
|
/**
|
|
2022
1991
|
* - String denoting whether custom object is active
|
|
2023
1992
|
* or inactive.
|
|
@@ -2060,13 +2029,18 @@ type CustomFieldSchema = {
|
|
|
2060
2029
|
*/
|
|
2061
2030
|
namespace?: string;
|
|
2062
2031
|
/**
|
|
2063
|
-
* - Unique identifier for a custom field
|
|
2032
|
+
* - Unique identifier for a custom field.
|
|
2064
2033
|
*/
|
|
2065
|
-
|
|
2034
|
+
key?: string;
|
|
2066
2035
|
/**
|
|
2067
2036
|
* - Type of an entity under which custom field is defined.
|
|
2068
2037
|
*/
|
|
2069
2038
|
resource?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* - Denotes where the custom field has been
|
|
2041
|
+
* defined - within a company or within a sales channel.
|
|
2042
|
+
*/
|
|
2043
|
+
creator?: string;
|
|
2070
2044
|
/**
|
|
2071
2045
|
* - Array containing values of custom field.
|
|
2072
2046
|
*/
|
|
@@ -2106,6 +2080,10 @@ type CustomFieldSchema = {
|
|
|
2106
2080
|
* validation failure on a custom field inside a custom object.
|
|
2107
2081
|
*/
|
|
2108
2082
|
invalid_value_errors?: any[];
|
|
2083
|
+
/**
|
|
2084
|
+
* - Details of the owner of custom field creator.
|
|
2085
|
+
*/
|
|
2086
|
+
created_by?: string;
|
|
2109
2087
|
/**
|
|
2110
2088
|
* - Whether the custom field definition is deleted.
|
|
2111
2089
|
*/
|
|
@@ -2129,40 +2107,6 @@ type CustomFieldsResponseByResourceIdSchema = {
|
|
|
2129
2107
|
*/
|
|
2130
2108
|
items?: CustomFieldSchema[];
|
|
2131
2109
|
};
|
|
2132
|
-
/** @returns {CustomObjectListItemSchema} */
|
|
2133
|
-
declare function CustomObjectListItemSchema(): CustomObjectListItemSchema;
|
|
2134
|
-
type CustomObjectListItemSchema = {
|
|
2135
|
-
/**
|
|
2136
|
-
* - Unique system generated if for a custom object
|
|
2137
|
-
*/
|
|
2138
|
-
_id?: string;
|
|
2139
|
-
/**
|
|
2140
|
-
* - Unique system generated id for a custom
|
|
2141
|
-
* object definition
|
|
2142
|
-
*/
|
|
2143
|
-
definition_id?: string;
|
|
2144
|
-
/**
|
|
2145
|
-
* - Flag to denote whether custom object is active or not
|
|
2146
|
-
*/
|
|
2147
|
-
status?: string;
|
|
2148
|
-
/**
|
|
2149
|
-
* - Updation time of custom object entry
|
|
2150
|
-
*/
|
|
2151
|
-
updated_at?: string;
|
|
2152
|
-
/**
|
|
2153
|
-
* - A custom field inside custom object used
|
|
2154
|
-
* to display the entry of custom object in listing
|
|
2155
|
-
*/
|
|
2156
|
-
display_name?: string;
|
|
2157
|
-
definition?: CustomObjectListItemDefinationSchema;
|
|
2158
|
-
references?: number;
|
|
2159
|
-
};
|
|
2160
|
-
/** @returns {CustomObjectsSchema} */
|
|
2161
|
-
declare function CustomObjectsSchema(): CustomObjectsSchema;
|
|
2162
|
-
type CustomObjectsSchema = {
|
|
2163
|
-
items?: CustomObjectListItemSchema[];
|
|
2164
|
-
page?: Page;
|
|
2165
|
-
};
|
|
2166
2110
|
/** @returns {ActionPage} */
|
|
2167
2111
|
declare function ActionPage(): ActionPage;
|
|
2168
2112
|
type ActionPage = {
|