@gofynd/fdk-client-javascript 1.2.0 → 1.3.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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +4 -4
- package/sdk/application/Cart/CartApplicationModel.js +4 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +96 -9
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +117 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -26,6 +26,8 @@ declare class Content {
|
|
|
26
26
|
_urls: {};
|
|
27
27
|
updateUrls(urls: any): void;
|
|
28
28
|
/**
|
|
29
|
+
* @param {ContentApplicationValidator.GetAnnouncementsParam} arg - Arg object.
|
|
30
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
29
31
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
30
32
|
* @returns {Promise<ContentApplicationModel.AnnouncementsResponseSchema>}
|
|
31
33
|
* - Success response
|
|
@@ -34,25 +36,27 @@ declare class Content {
|
|
|
34
36
|
* @summary: Get live announcements
|
|
35
37
|
* @description: Announcements are useful to highlight a message or information on top of a webpage. Use this API to retrieve live announcements. Get announcements on individual pages or for all pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getAnnouncements/).
|
|
36
38
|
*/
|
|
37
|
-
getAnnouncements({
|
|
39
|
+
getAnnouncements({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.AnnouncementsResponseSchema>;
|
|
38
40
|
/**
|
|
39
41
|
* @param {ContentApplicationValidator.GetBlogParam} arg - Arg object.
|
|
42
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
40
43
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
41
44
|
* @returns {Promise<ContentApplicationModel.BlogSchema>} - Success response
|
|
42
45
|
* @name getBlog
|
|
43
46
|
* @summary: Get a blog
|
|
44
47
|
* @description: Use this API to get the details of a blog using its slug. Details include the title, reading time, publish status, feature image, tags, author, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
|
|
45
48
|
*/
|
|
46
|
-
getBlog({ slug, rootId }?: ContentApplicationValidator.GetBlogParam, {
|
|
49
|
+
getBlog({ slug, rootId, requestHeaders }?: ContentApplicationValidator.GetBlogParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogSchema>;
|
|
47
50
|
/**
|
|
48
51
|
* @param {ContentApplicationValidator.GetBlogsParam} arg - Arg object.
|
|
52
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
49
53
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
50
54
|
* @returns {Promise<ContentApplicationModel.BlogGetResponse>} - Success response
|
|
51
55
|
* @name getBlogs
|
|
52
56
|
* @summary: Get a list of blogs
|
|
53
57
|
* @description: Use this API to get all the blogs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
|
|
54
58
|
*/
|
|
55
|
-
getBlogs({ pageNo, pageSize }?: ContentApplicationValidator.GetBlogsParam, {
|
|
59
|
+
getBlogs({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetBlogsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogGetResponse>;
|
|
56
60
|
/**
|
|
57
61
|
* @param {Object} arg - Arg object.
|
|
58
62
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
@@ -64,23 +68,28 @@ declare class Content {
|
|
|
64
68
|
pageSize?: number;
|
|
65
69
|
}): Paginator<ContentApplicationModel.BlogGetResponse>;
|
|
66
70
|
/**
|
|
71
|
+
* @param {ContentApplicationValidator.GetDataLoadersParam} arg - Arg object.
|
|
72
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
67
73
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
68
74
|
* @returns {Promise<ContentApplicationModel.DataLoadersSchema>} - Success response
|
|
69
75
|
* @name getDataLoaders
|
|
70
76
|
* @summary: Get the data loaders associated with an application
|
|
71
77
|
* @description: Use this API to get all selected data loaders of the application in the form of tags. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getDataLoaders/).
|
|
72
78
|
*/
|
|
73
|
-
getDataLoaders({
|
|
79
|
+
getDataLoaders({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.DataLoadersSchema>;
|
|
74
80
|
/**
|
|
75
81
|
* @param {ContentApplicationValidator.GetFaqBySlugParam} arg - Arg object.
|
|
82
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
76
83
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
77
84
|
* @returns {Promise<ContentApplicationModel.FaqSchema>} - Success response
|
|
78
85
|
* @name getFaqBySlug
|
|
79
86
|
* @summary: Get an FAQ
|
|
80
87
|
* @description: Use this API to get a particular FAQ by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
|
|
81
88
|
*/
|
|
82
|
-
getFaqBySlug({ slug }?: ContentApplicationValidator.GetFaqBySlugParam, {
|
|
89
|
+
getFaqBySlug({ slug, requestHeaders }?: ContentApplicationValidator.GetFaqBySlugParam, { responseHeaders }?: object): Promise<ContentApplicationModel.FaqSchema>;
|
|
83
90
|
/**
|
|
91
|
+
* @param {ContentApplicationValidator.GetFaqCategoriesParam} arg - Arg object.
|
|
92
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
84
93
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
85
94
|
* @returns {Promise<ContentApplicationModel.GetFaqCategoriesSchema>} -
|
|
86
95
|
* Success response
|
|
@@ -88,9 +97,10 @@ declare class Content {
|
|
|
88
97
|
* @summary: Get a list of FAQ categories
|
|
89
98
|
* @description: FAQs can be divided into categories. Use this API to get a list of FAQ categories. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategories/).
|
|
90
99
|
*/
|
|
91
|
-
getFaqCategories({
|
|
100
|
+
getFaqCategories({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.GetFaqCategoriesSchema>;
|
|
92
101
|
/**
|
|
93
102
|
* @param {ContentApplicationValidator.GetFaqCategoryBySlugParam} arg - Arg object.
|
|
103
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
94
104
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
95
105
|
* @returns {Promise<ContentApplicationModel.GetFaqCategoryBySlugSchema>} -
|
|
96
106
|
* Success response
|
|
@@ -98,78 +108,88 @@ declare class Content {
|
|
|
98
108
|
* @summary: Get the FAQ category
|
|
99
109
|
* @description: FAQs can be divided into categories. Use this API to get the category to which an FAQ belongs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
|
|
100
110
|
*/
|
|
101
|
-
getFaqCategoryBySlug({ slug }?: ContentApplicationValidator.GetFaqCategoryBySlugParam, {
|
|
111
|
+
getFaqCategoryBySlug({ slug, requestHeaders }?: ContentApplicationValidator.GetFaqCategoryBySlugParam, { responseHeaders }?: object): Promise<ContentApplicationModel.GetFaqCategoryBySlugSchema>;
|
|
102
112
|
/**
|
|
113
|
+
* @param {ContentApplicationValidator.GetFaqsParam} arg - Arg object.
|
|
114
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
103
115
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
104
116
|
* @returns {Promise<ContentApplicationModel.FaqResponseSchema>} - Success response
|
|
105
117
|
* @name getFaqs
|
|
106
118
|
* @summary: Get a list of FAQs
|
|
107
119
|
* @description: Use this API to get a list of frequently asked questions. Users will benefit from it when facing any issue with the website. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqs/).
|
|
108
120
|
*/
|
|
109
|
-
getFaqs({
|
|
121
|
+
getFaqs({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.FaqResponseSchema>;
|
|
110
122
|
/**
|
|
111
123
|
* @param {ContentApplicationValidator.GetFaqsByCategorySlugParam} arg - Arg object.
|
|
124
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
112
125
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
113
126
|
* @returns {Promise<ContentApplicationModel.GetFaqSchema>} - Success response
|
|
114
127
|
* @name getFaqsByCategorySlug
|
|
115
128
|
* @summary: Get FAQs using the slug of FAQ category
|
|
116
129
|
* @description: FAQs can be divided into categories. Use this API to get all the FAQs belonging to a category by using the category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
|
|
117
130
|
*/
|
|
118
|
-
getFaqsByCategorySlug({ slug }?: ContentApplicationValidator.GetFaqsByCategorySlugParam, {
|
|
131
|
+
getFaqsByCategorySlug({ slug, requestHeaders }?: ContentApplicationValidator.GetFaqsByCategorySlugParam, { responseHeaders }?: object): Promise<ContentApplicationModel.GetFaqSchema>;
|
|
119
132
|
/**
|
|
133
|
+
* @param {ContentApplicationValidator.GetLandingPageParam} arg - Arg object.
|
|
134
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
120
135
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
121
136
|
* @returns {Promise<ContentApplicationModel.LandingPageSchema>} - Success response
|
|
122
137
|
* @name getLandingPage
|
|
123
138
|
* @summary: Get the landing page
|
|
124
139
|
* @description: Landing page is the first page that a prospect lands upon while visiting a website. Use this API to fetch the details of a landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
|
|
125
140
|
*/
|
|
126
|
-
getLandingPage({
|
|
141
|
+
getLandingPage({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.LandingPageSchema>;
|
|
127
142
|
/**
|
|
143
|
+
* @param {ContentApplicationValidator.GetLegalInformationParam} arg - Arg object.
|
|
144
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
128
145
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
129
146
|
* @returns {Promise<ContentApplicationModel.ApplicationLegal>} - Success response
|
|
130
147
|
* @name getLegalInformation
|
|
131
148
|
* @summary: Get legal information
|
|
132
149
|
* @description: Use this API to get the legal information of an application, which includes Privacy Policy, Terms and Conditions, Shipping Policy and FAQs regarding the usage of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLegalInformation/).
|
|
133
150
|
*/
|
|
134
|
-
getLegalInformation({
|
|
151
|
+
getLegalInformation({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.ApplicationLegal>;
|
|
135
152
|
/**
|
|
136
153
|
* @param {ContentApplicationValidator.GetNavigationsParam} arg - Arg object.
|
|
154
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
137
155
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
138
156
|
* @returns {Promise<ContentApplicationModel.NavigationGetResponse>} -
|
|
139
157
|
* Success response
|
|
140
158
|
* @name getNavigations
|
|
141
159
|
* @summary: Get the navigation
|
|
142
|
-
* @description: Use this API to fetch the navigations details which includes the items of the navigation
|
|
160
|
+
* @description: Use this API to fetch the navigations details which includes the items of the navigation panel. It also shows the links and sub-navigations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getNavigations/).
|
|
143
161
|
*/
|
|
144
|
-
getNavigations({ pageNo, pageSize }?: ContentApplicationValidator.GetNavigationsParam, {
|
|
162
|
+
getNavigations({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetNavigationsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.NavigationGetResponse>;
|
|
145
163
|
/**
|
|
146
164
|
* @param {Object} arg - Arg object.
|
|
147
165
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
148
166
|
* @returns {Paginator<ContentApplicationModel.NavigationGetResponse>}
|
|
149
167
|
* @summary: Get the navigation
|
|
150
|
-
* @description: Use this API to fetch the navigations details which includes the items of the navigation
|
|
168
|
+
* @description: Use this API to fetch the navigations details which includes the items of the navigation panel. It also shows the links and sub-navigations.
|
|
151
169
|
*/
|
|
152
170
|
getNavigationsPaginator({ pageSize }?: {
|
|
153
171
|
pageSize?: number;
|
|
154
172
|
}): Paginator<ContentApplicationModel.NavigationGetResponse>;
|
|
155
173
|
/**
|
|
156
174
|
* @param {ContentApplicationValidator.GetPageParam} arg - Arg object.
|
|
175
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
157
176
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
158
177
|
* @returns {Promise<ContentApplicationModel.PageSchema>} - Success response
|
|
159
178
|
* @name getPage
|
|
160
179
|
* @summary: Get a page
|
|
161
180
|
* @description: Use this API to get the details of a page using its slug. Details include the title, seo, publish status, feature image, tags, meta, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
|
|
162
181
|
*/
|
|
163
|
-
getPage({ slug, rootId }?: ContentApplicationValidator.GetPageParam, {
|
|
182
|
+
getPage({ slug, rootId, requestHeaders }?: ContentApplicationValidator.GetPageParam, { responseHeaders }?: object): Promise<ContentApplicationModel.PageSchema>;
|
|
164
183
|
/**
|
|
165
184
|
* @param {ContentApplicationValidator.GetPagesParam} arg - Arg object.
|
|
185
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
166
186
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
167
187
|
* @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
|
|
168
188
|
* @name getPages
|
|
169
189
|
* @summary: Get all pages
|
|
170
190
|
* @description: Use this API to get a list of pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
|
|
171
191
|
*/
|
|
172
|
-
getPages({ pageNo, pageSize }?: ContentApplicationValidator.GetPagesParam, {
|
|
192
|
+
getPages({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetPagesParam, { responseHeaders }?: object): Promise<ContentApplicationModel.PageGetResponse>;
|
|
173
193
|
/**
|
|
174
194
|
* @param {Object} arg - Arg object.
|
|
175
195
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
@@ -181,31 +201,35 @@ declare class Content {
|
|
|
181
201
|
pageSize?: number;
|
|
182
202
|
}): Paginator<ContentApplicationModel.PageGetResponse>;
|
|
183
203
|
/**
|
|
204
|
+
* @param {ContentApplicationValidator.GetSEOConfigurationParam} arg - Arg object.
|
|
205
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
184
206
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
185
207
|
* @returns {Promise<ContentApplicationModel.SeoComponent>} - Success response
|
|
186
208
|
* @name getSEOConfiguration
|
|
187
209
|
* @summary: Get the SEO of an application
|
|
188
210
|
* @description: Use this API to get the SEO details of an application, which includes a robot.txt, meta-tags and sitemap. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSEOConfiguration/).
|
|
189
211
|
*/
|
|
190
|
-
getSEOConfiguration({
|
|
212
|
+
getSEOConfiguration({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.SeoComponent>;
|
|
191
213
|
/**
|
|
192
214
|
* @param {ContentApplicationValidator.GetSlideshowParam} arg - Arg object.
|
|
215
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
193
216
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
194
217
|
* @returns {Promise<ContentApplicationModel.SlideshowSchema>} - Success response
|
|
195
218
|
* @name getSlideshow
|
|
196
219
|
* @summary: Get a slideshow
|
|
197
220
|
* @description: A slideshow is a group of images, videos or a combination of both that are shown on the website in the form of slides. Use this API to fetch a slideshow using its `slug`. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshow/).
|
|
198
221
|
*/
|
|
199
|
-
getSlideshow({ slug }?: ContentApplicationValidator.GetSlideshowParam, {
|
|
222
|
+
getSlideshow({ slug, requestHeaders }?: ContentApplicationValidator.GetSlideshowParam, { responseHeaders }?: object): Promise<ContentApplicationModel.SlideshowSchema>;
|
|
200
223
|
/**
|
|
201
224
|
* @param {ContentApplicationValidator.GetSlideshowsParam} arg - Arg object.
|
|
225
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
226
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
203
227
|
* @returns {Promise<ContentApplicationModel.SlideshowGetResponse>} - Success response
|
|
204
228
|
* @name getSlideshows
|
|
205
229
|
* @summary: Get the slideshows
|
|
206
230
|
* @description: Use this API to get a list of slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
|
|
207
231
|
*/
|
|
208
|
-
getSlideshows({ pageNo, pageSize }?: ContentApplicationValidator.GetSlideshowsParam, {
|
|
232
|
+
getSlideshows({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetSlideshowsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.SlideshowGetResponse>;
|
|
209
233
|
/**
|
|
210
234
|
* @param {Object} arg - Arg object.
|
|
211
235
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
@@ -217,21 +241,25 @@ declare class Content {
|
|
|
217
241
|
pageSize?: number;
|
|
218
242
|
}): Paginator<ContentApplicationModel.SlideshowGetResponse>;
|
|
219
243
|
/**
|
|
244
|
+
* @param {ContentApplicationValidator.GetSupportInformationParam} arg - Arg object.
|
|
245
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
220
246
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
221
247
|
* @returns {Promise<ContentApplicationModel.Support>} - Success response
|
|
222
248
|
* @name getSupportInformation
|
|
223
249
|
* @summary: Get the support information
|
|
224
250
|
* @description: Use this API to get contact details for customer support including emails and phone numbers. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSupportInformation/).
|
|
225
251
|
*/
|
|
226
|
-
getSupportInformation({
|
|
252
|
+
getSupportInformation({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.Support>;
|
|
227
253
|
/**
|
|
254
|
+
* @param {ContentApplicationValidator.GetTagsParam} arg - Arg object.
|
|
255
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
228
256
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
229
257
|
* @returns {Promise<ContentApplicationModel.TagsSchema>} - Success response
|
|
230
258
|
* @name getTags
|
|
231
259
|
* @summary: Get the tags associated with an application
|
|
232
260
|
* @description: Use this API to get all the CSS and JS injected in the application in the form of tags. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getTags/).
|
|
233
261
|
*/
|
|
234
|
-
getTags({
|
|
262
|
+
getTags({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentApplicationModel.TagsSchema>;
|
|
235
263
|
}
|
|
236
264
|
import ContentApplicationModel = require("./ContentApplicationModel");
|
|
237
265
|
import ContentApplicationValidator = require("./ContentApplicationValidator");
|