@gofynd/fdk-client-javascript 1.6.4 → 3.1.0-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 +100 -80
- package/sdk/application/Cart/CartApplicationClient.js +257 -126
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +61 -21
- package/sdk/application/Content/ContentApplicationClient.js +250 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +106 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +326 -208
- package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
- package/sdk/application/Order/OrderApplicationClient.js +140 -21
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
- package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
- package/sdk/application/User/UserApplicationClient.d.ts +13 -23
- package/sdk/application/User/UserApplicationClient.js +9 -57
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +0 -10
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +0 -75
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +1 -54
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +0 -43
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -6
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
- package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
- package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
- package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
- package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
- package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -670
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -268
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
- 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 +251 -172
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +639 -521
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3150 -4468
- package/sdk/platform/Cart/CartPlatformModel.js +2858 -1867
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +976 -380
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6475 -2015
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1083 -162
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +884 -80
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +325 -568
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1162 -1562
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6008 -7688
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9522 -6892
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +234 -227
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +183 -177
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
- package/sdk/platform/Common/CommonPlatformClient.js +5 -6
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -238
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +876 -588
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +506 -270
- package/sdk/platform/Communication/CommunicationPlatformModel.js +611 -313
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +78 -77
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +97 -91
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +31 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1206 -459
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1011 -320
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +255 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1095 -464
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
- package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
- package/sdk/platform/Content/ContentPlatformClient.js +459 -379
- package/sdk/platform/Content/ContentPlatformModel.d.ts +871 -1315
- package/sdk/platform/Content/ContentPlatformModel.js +940 -599
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
- package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
- package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
- package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
- 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 +2895 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
- package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
- package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
- package/sdk/platform/Order/OrderPlatformClient.d.ts +486 -277
- package/sdk/platform/Order/OrderPlatformClient.js +1491 -938
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4560 -8636
- package/sdk/platform/Order/OrderPlatformModel.js +3604 -4056
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
- package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
- 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 +7 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
- package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3531 -1292
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1504
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
- package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
- 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 +14 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2188 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +394 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +342 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +150 -212
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +589 -1238
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3581 -2960
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3730 -1779
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +230 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +164 -287
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
- package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
- package/sdk/platform/Share/SharePlatformModel.d.ts +11 -50
- package/sdk/platform/Share/SharePlatformModel.js +5 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +36 -16
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +201 -58
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +28 -17
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +33 -16
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
- package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +18 -71
- package/sdk/platform/User/UserPlatformApplicationClient.js +27 -412
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +10 -114
- package/sdk/platform/User/UserPlatformApplicationValidator.js +7 -80
- package/sdk/platform/User/UserPlatformModel.d.ts +216 -264
- package/sdk/platform/User/UserPlatformModel.js +209 -216
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +428 -810
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -444
- 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 +14 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
- package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +183 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
- package/sdk/public/Content/ContentPublicModel.js +47 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
- package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
- package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
- package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
- package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
|
@@ -14,10 +14,14 @@ class Content {
|
|
|
14
14
|
getAnnouncements: "/service/application/content/v1.0/announcements",
|
|
15
15
|
getBlog: "/service/application/content/v1.0/blogs/{slug}",
|
|
16
16
|
getBlogs: "/service/application/content/v1.0/blogs",
|
|
17
|
-
|
|
18
|
-
"/service/application/content/
|
|
19
|
-
|
|
20
|
-
"/service/application/content/
|
|
17
|
+
getCustomFieldDefinition:
|
|
18
|
+
"/service/application/content/v1.0/metafields/definitions/{id}",
|
|
19
|
+
getCustomFieldDefinitions:
|
|
20
|
+
"/service/application/content/v1.0/metafields/definitions",
|
|
21
|
+
getCustomFields:
|
|
22
|
+
"/service/application/content/v1.0/metafields/{resource}",
|
|
23
|
+
getCustomObject: "/service/application/content/v1.0/metaobjects/{id}",
|
|
24
|
+
getCustomObjects: "/service/application/content/v1.0/metaobjects",
|
|
21
25
|
getDataLoaders: "/service/application/content/v1.0/data-loader",
|
|
22
26
|
getFaqBySlug: "/service/application/content/v1.0/faq/{slug}",
|
|
23
27
|
getFaqCategories: "/service/application/content/v1.0/faq/categories",
|
|
@@ -35,6 +39,7 @@ class Content {
|
|
|
35
39
|
getSEOMarkupSchemas: "/service/application/content/v1.0/seo/schema",
|
|
36
40
|
getSupportInformation: "/service/application/content/v1.0/support",
|
|
37
41
|
getTags: "/service/application/content/v1.0/tags",
|
|
42
|
+
getWellKnownUrl: "/service/application/content/v1.0/well-known/{slug}",
|
|
38
43
|
};
|
|
39
44
|
this._urls = Object.entries(this._relativeUrls).reduce(
|
|
40
45
|
(urls, [method, relativeUrl]) => {
|
|
@@ -106,7 +111,7 @@ class Content {
|
|
|
106
111
|
* @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/).
|
|
107
112
|
*/
|
|
108
113
|
async getBlog(
|
|
109
|
-
{ slug, rootId,
|
|
114
|
+
{ slug, rootId, requestHeaders } = { requestHeaders: {} },
|
|
110
115
|
{ responseHeaders } = { responseHeaders: false }
|
|
111
116
|
) {
|
|
112
117
|
let invalidInput = [];
|
|
@@ -126,7 +131,6 @@ class Content {
|
|
|
126
131
|
|
|
127
132
|
const query_params = {};
|
|
128
133
|
query_params["root_id"] = rootId;
|
|
129
|
-
query_params["preview"] = preview;
|
|
130
134
|
|
|
131
135
|
const xHeaders = {};
|
|
132
136
|
|
|
@@ -154,7 +158,7 @@ class Content {
|
|
|
154
158
|
/**
|
|
155
159
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
156
160
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
157
|
-
* @returns {Promise<
|
|
161
|
+
* @returns {Promise<BlogGetResponse>} - Success response
|
|
158
162
|
* @name getBlogs
|
|
159
163
|
* @summary: List blogs
|
|
160
164
|
* @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
|
|
@@ -200,16 +204,113 @@ class Content {
|
|
|
200
204
|
return response;
|
|
201
205
|
}
|
|
202
206
|
|
|
207
|
+
/**
|
|
208
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
209
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
210
|
+
* @returns {Promise<CustomFieldDefinitionDetailResSchema>} - Success response
|
|
211
|
+
* @name getCustomFieldDefinition
|
|
212
|
+
* @summary: Get custom fields definition by id
|
|
213
|
+
* @description: Use this API to retrieve the definitions of custom fields using definition_id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFieldDefinition/).
|
|
214
|
+
*/
|
|
215
|
+
async getCustomFieldDefinition(
|
|
216
|
+
{ id, requestHeaders } = { requestHeaders: {} },
|
|
217
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
218
|
+
) {
|
|
219
|
+
let invalidInput = [];
|
|
220
|
+
|
|
221
|
+
if (!id) {
|
|
222
|
+
invalidInput.push({
|
|
223
|
+
message: `The 'id' field is required.`,
|
|
224
|
+
path: ["id"],
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
if (invalidInput.length) {
|
|
228
|
+
const error = new Error();
|
|
229
|
+
error.message = "Missing required field";
|
|
230
|
+
error.details = invalidInput;
|
|
231
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
const query_params = {};
|
|
235
|
+
|
|
236
|
+
const xHeaders = {};
|
|
237
|
+
|
|
238
|
+
const response = await ApplicationAPIClient.execute(
|
|
239
|
+
this._conf,
|
|
240
|
+
"get",
|
|
241
|
+
constructUrl({
|
|
242
|
+
url: this._urls["getCustomFieldDefinition"],
|
|
243
|
+
params: { id },
|
|
244
|
+
}),
|
|
245
|
+
query_params,
|
|
246
|
+
undefined,
|
|
247
|
+
{ ...xHeaders, ...requestHeaders },
|
|
248
|
+
{ responseHeaders }
|
|
249
|
+
);
|
|
250
|
+
|
|
251
|
+
let responseData = response;
|
|
252
|
+
if (responseHeaders) {
|
|
253
|
+
responseData = response[0];
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
return response;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
261
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
262
|
+
* @returns {Promise<CustomFieldDefinitionsSchema>} - Success response
|
|
263
|
+
* @name getCustomFieldDefinitions
|
|
264
|
+
* @summary: Get custom fields definitions
|
|
265
|
+
* @description: Use this API to retrieve the definitions of custom fields. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFieldDefinitions/).
|
|
266
|
+
*/
|
|
267
|
+
async getCustomFieldDefinitions(
|
|
268
|
+
{ requestHeaders } = { requestHeaders: {} },
|
|
269
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
270
|
+
) {
|
|
271
|
+
let invalidInput = [];
|
|
272
|
+
if (invalidInput.length) {
|
|
273
|
+
const error = new Error();
|
|
274
|
+
error.message = "Missing required field";
|
|
275
|
+
error.details = invalidInput;
|
|
276
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
const query_params = {};
|
|
280
|
+
|
|
281
|
+
const xHeaders = {};
|
|
282
|
+
|
|
283
|
+
const response = await ApplicationAPIClient.execute(
|
|
284
|
+
this._conf,
|
|
285
|
+
"get",
|
|
286
|
+
constructUrl({
|
|
287
|
+
url: this._urls["getCustomFieldDefinitions"],
|
|
288
|
+
params: {},
|
|
289
|
+
}),
|
|
290
|
+
query_params,
|
|
291
|
+
undefined,
|
|
292
|
+
{ ...xHeaders, ...requestHeaders },
|
|
293
|
+
{ responseHeaders }
|
|
294
|
+
);
|
|
295
|
+
|
|
296
|
+
let responseData = response;
|
|
297
|
+
if (responseHeaders) {
|
|
298
|
+
responseData = response[0];
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
return response;
|
|
302
|
+
}
|
|
303
|
+
|
|
203
304
|
/**
|
|
204
305
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
205
306
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
206
307
|
* @returns {Promise<CustomFieldsResponseByResourceIdSchema>} - Success response
|
|
207
|
-
* @name
|
|
208
|
-
* @summary: Get list of custom fields of given resource
|
|
209
|
-
* @description:
|
|
308
|
+
* @name getCustomFields
|
|
309
|
+
* @summary: Get list of custom fields of given resource
|
|
310
|
+
* @description: Use this API to retrieve the custom fields for given resource and resource_ids in param - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
|
|
210
311
|
*/
|
|
211
|
-
async
|
|
212
|
-
{ resource,
|
|
312
|
+
async getCustomFields(
|
|
313
|
+
{ resource, resourceIds, requestHeaders } = { requestHeaders: {} },
|
|
213
314
|
{ responseHeaders } = { responseHeaders: false }
|
|
214
315
|
) {
|
|
215
316
|
let invalidInput = [];
|
|
@@ -220,10 +321,10 @@ class Content {
|
|
|
220
321
|
path: ["resource"],
|
|
221
322
|
});
|
|
222
323
|
}
|
|
223
|
-
if (!
|
|
324
|
+
if (!resourceIds) {
|
|
224
325
|
invalidInput.push({
|
|
225
|
-
message: `The '
|
|
226
|
-
path: ["
|
|
326
|
+
message: `The 'resourceIds' field is required.`,
|
|
327
|
+
path: ["resourceIds"],
|
|
227
328
|
});
|
|
228
329
|
}
|
|
229
330
|
if (invalidInput.length) {
|
|
@@ -234,6 +335,7 @@ class Content {
|
|
|
234
335
|
}
|
|
235
336
|
|
|
236
337
|
const query_params = {};
|
|
338
|
+
query_params["resource_ids"] = resourceIds;
|
|
237
339
|
|
|
238
340
|
const xHeaders = {};
|
|
239
341
|
|
|
@@ -241,8 +343,8 @@ class Content {
|
|
|
241
343
|
this._conf,
|
|
242
344
|
"get",
|
|
243
345
|
constructUrl({
|
|
244
|
-
url: this._urls["
|
|
245
|
-
params: { resource
|
|
346
|
+
url: this._urls["getCustomFields"],
|
|
347
|
+
params: { resource },
|
|
246
348
|
}),
|
|
247
349
|
query_params,
|
|
248
350
|
undefined,
|
|
@@ -262,26 +364,80 @@ class Content {
|
|
|
262
364
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
263
365
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
264
366
|
* @returns {Promise<CustomObjectByIdSchema>} - Success response
|
|
265
|
-
* @name
|
|
266
|
-
* @summary: Get custom object
|
|
267
|
-
* @description: Details of
|
|
367
|
+
* @name getCustomObject
|
|
368
|
+
* @summary: Get custom object
|
|
369
|
+
* @description: 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/).
|
|
268
370
|
*/
|
|
269
|
-
async
|
|
270
|
-
{
|
|
371
|
+
async getCustomObject(
|
|
372
|
+
{ id, requestHeaders } = { requestHeaders: {} },
|
|
271
373
|
{ responseHeaders } = { responseHeaders: false }
|
|
272
374
|
) {
|
|
273
375
|
let invalidInput = [];
|
|
274
376
|
|
|
275
|
-
if (!
|
|
377
|
+
if (!id) {
|
|
276
378
|
invalidInput.push({
|
|
277
|
-
message: `The '
|
|
278
|
-
path: ["
|
|
379
|
+
message: `The 'id' field is required.`,
|
|
380
|
+
path: ["id"],
|
|
279
381
|
});
|
|
280
382
|
}
|
|
281
|
-
if (
|
|
383
|
+
if (invalidInput.length) {
|
|
384
|
+
const error = new Error();
|
|
385
|
+
error.message = "Missing required field";
|
|
386
|
+
error.details = invalidInput;
|
|
387
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
const query_params = {};
|
|
391
|
+
|
|
392
|
+
const xHeaders = {};
|
|
393
|
+
|
|
394
|
+
const response = await ApplicationAPIClient.execute(
|
|
395
|
+
this._conf,
|
|
396
|
+
"get",
|
|
397
|
+
constructUrl({
|
|
398
|
+
url: this._urls["getCustomObject"],
|
|
399
|
+
params: { id },
|
|
400
|
+
}),
|
|
401
|
+
query_params,
|
|
402
|
+
undefined,
|
|
403
|
+
{ ...xHeaders, ...requestHeaders },
|
|
404
|
+
{ responseHeaders }
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
let responseData = response;
|
|
408
|
+
if (responseHeaders) {
|
|
409
|
+
responseData = response[0];
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
return response;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
417
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
418
|
+
* @returns {Promise<CustomObjectsSchema>} - Success response
|
|
419
|
+
* @name getCustomObjects
|
|
420
|
+
* @summary: Get list of custom objects
|
|
421
|
+
* @description: Use this API to retrieve the custom objects. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObjects/).
|
|
422
|
+
*/
|
|
423
|
+
async getCustomObjects(
|
|
424
|
+
{ pageNo, pageSize, definitionId, type, ids, search, requestHeaders } = {
|
|
425
|
+
requestHeaders: {},
|
|
426
|
+
},
|
|
427
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
428
|
+
) {
|
|
429
|
+
let invalidInput = [];
|
|
430
|
+
|
|
431
|
+
if (!pageNo) {
|
|
282
432
|
invalidInput.push({
|
|
283
|
-
message: `The '
|
|
284
|
-
path: ["
|
|
433
|
+
message: `The 'pageNo' field is required.`,
|
|
434
|
+
path: ["pageNo"],
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
if (!pageSize) {
|
|
438
|
+
invalidInput.push({
|
|
439
|
+
message: `The 'pageSize' field is required.`,
|
|
440
|
+
path: ["pageSize"],
|
|
285
441
|
});
|
|
286
442
|
}
|
|
287
443
|
if (invalidInput.length) {
|
|
@@ -292,6 +448,12 @@ class Content {
|
|
|
292
448
|
}
|
|
293
449
|
|
|
294
450
|
const query_params = {};
|
|
451
|
+
query_params["definition_id"] = definitionId;
|
|
452
|
+
query_params["page_no"] = pageNo;
|
|
453
|
+
query_params["page_size"] = pageSize;
|
|
454
|
+
query_params["type"] = type;
|
|
455
|
+
query_params["ids"] = ids;
|
|
456
|
+
query_params["search"] = search;
|
|
295
457
|
|
|
296
458
|
const xHeaders = {};
|
|
297
459
|
|
|
@@ -299,8 +461,8 @@ class Content {
|
|
|
299
461
|
this._conf,
|
|
300
462
|
"get",
|
|
301
463
|
constructUrl({
|
|
302
|
-
url: this._urls["
|
|
303
|
-
params: {
|
|
464
|
+
url: this._urls["getCustomObjects"],
|
|
465
|
+
params: {},
|
|
304
466
|
}),
|
|
305
467
|
query_params,
|
|
306
468
|
undefined,
|
|
@@ -613,7 +775,7 @@ class Content {
|
|
|
613
775
|
* @returns {Promise<LandingPageSchema>} - Success response
|
|
614
776
|
* @name getLandingPage
|
|
615
777
|
* @summary: Get a landing page
|
|
616
|
-
* @description:
|
|
778
|
+
* @description: Gets the content of the application's landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
|
|
617
779
|
*/
|
|
618
780
|
async getLandingPage(
|
|
619
781
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -700,7 +862,7 @@ class Content {
|
|
|
700
862
|
/**
|
|
701
863
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
702
864
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
703
|
-
* @returns {Promise<
|
|
865
|
+
* @returns {Promise<NavigationGetResponse>} - Success response
|
|
704
866
|
* @name getNavigations
|
|
705
867
|
* @summary: List navigation items
|
|
706
868
|
* @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/).
|
|
@@ -749,8 +911,8 @@ class Content {
|
|
|
749
911
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
750
912
|
* @returns {Promise<PageSchema>} - Success response
|
|
751
913
|
* @name getPage
|
|
752
|
-
* @summary: Get
|
|
753
|
-
* @description: Get detailed information
|
|
914
|
+
* @summary: Get page by slug
|
|
915
|
+
* @description: Get detailed information about a specific page using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
|
|
754
916
|
*/
|
|
755
917
|
async getPage(
|
|
756
918
|
{ slug, rootId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -800,10 +962,10 @@ class Content {
|
|
|
800
962
|
/**
|
|
801
963
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
802
964
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
803
|
-
* @returns {Promise<
|
|
965
|
+
* @returns {Promise<PageGetResponse>} - Success response
|
|
804
966
|
* @name getPages
|
|
805
967
|
* @summary: Lists pages
|
|
806
|
-
* @description: Lists all Custom Pages
|
|
968
|
+
* @description: Lists all Custom Pages - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
|
|
807
969
|
*/
|
|
808
970
|
async getPages(
|
|
809
971
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1025,6 +1187,58 @@ class Content {
|
|
|
1025
1187
|
|
|
1026
1188
|
return response;
|
|
1027
1189
|
}
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1193
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1194
|
+
* @returns {Promise<WellKnownResponse>} - Success response
|
|
1195
|
+
* @name getWellKnownUrl
|
|
1196
|
+
* @summary: Get a specific well-known URL
|
|
1197
|
+
* @description: Retrieves the details of a specific well-known URL by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getWellKnownUrl/).
|
|
1198
|
+
*/
|
|
1199
|
+
async getWellKnownUrl(
|
|
1200
|
+
{ slug, requestHeaders } = { requestHeaders: {} },
|
|
1201
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
1202
|
+
) {
|
|
1203
|
+
let invalidInput = [];
|
|
1204
|
+
|
|
1205
|
+
if (!slug) {
|
|
1206
|
+
invalidInput.push({
|
|
1207
|
+
message: `The 'slug' field is required.`,
|
|
1208
|
+
path: ["slug"],
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
if (invalidInput.length) {
|
|
1212
|
+
const error = new Error();
|
|
1213
|
+
error.message = "Missing required field";
|
|
1214
|
+
error.details = invalidInput;
|
|
1215
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
const query_params = {};
|
|
1219
|
+
|
|
1220
|
+
const xHeaders = {};
|
|
1221
|
+
|
|
1222
|
+
const response = await ApplicationAPIClient.execute(
|
|
1223
|
+
this._conf,
|
|
1224
|
+
"get",
|
|
1225
|
+
constructUrl({
|
|
1226
|
+
url: this._urls["getWellKnownUrl"],
|
|
1227
|
+
params: { slug },
|
|
1228
|
+
}),
|
|
1229
|
+
query_params,
|
|
1230
|
+
undefined,
|
|
1231
|
+
{ ...xHeaders, ...requestHeaders },
|
|
1232
|
+
{ responseHeaders }
|
|
1233
|
+
);
|
|
1234
|
+
|
|
1235
|
+
let responseData = response;
|
|
1236
|
+
if (responseHeaders) {
|
|
1237
|
+
responseData = response[0];
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
return response;
|
|
1241
|
+
}
|
|
1028
1242
|
}
|
|
1029
1243
|
|
|
1030
1244
|
module.exports = Content;
|
|
@@ -16,7 +16,7 @@ declare class Lead {
|
|
|
16
16
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
17
17
|
* @returns {Promise<TicketHistory>} - Success response
|
|
18
18
|
* @name createHistory
|
|
19
|
-
* @summary:
|
|
19
|
+
* @summary: Logs ticket history.
|
|
20
20
|
* @description: Create a history entry for a specific support ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/createHistory/).
|
|
21
21
|
*/
|
|
22
22
|
createHistory({ id, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TicketHistory>;
|
|
@@ -50,10 +50,10 @@ declare class Lead {
|
|
|
50
50
|
/**
|
|
51
51
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
52
52
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
53
|
-
* @returns {Promise<
|
|
53
|
+
* @returns {Promise<SubmitCustomFormResponse>} - Success response
|
|
54
54
|
* @name submitCustomForm
|
|
55
55
|
* @summary: Submits form data
|
|
56
56
|
* @description: Create user-entered data from a custom form for processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/submitCustomForm/).
|
|
57
57
|
*/
|
|
58
|
-
submitCustomForm({ slug, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
58
|
+
submitCustomForm({ slug, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SubmitCustomFormResponse>;
|
|
59
59
|
}
|
|
@@ -12,7 +12,7 @@ class Lead {
|
|
|
12
12
|
this._conf = _conf;
|
|
13
13
|
this._relativeUrls = {
|
|
14
14
|
createHistory: "/service/application/lead/v1.0/ticket/{id}/history",
|
|
15
|
-
createTicket: "/service/application/lead/v1.0/ticket
|
|
15
|
+
createTicket: "/service/application/lead/v1.0/ticket",
|
|
16
16
|
getCustomForm: "/service/application/lead/v1.0/form/{slug}",
|
|
17
17
|
getTicket: "/service/application/lead/v1.0/ticket/{id}",
|
|
18
18
|
submitCustomForm: "/service/application/lead/v1.0/form/{slug}/submit",
|
|
@@ -38,7 +38,7 @@ class Lead {
|
|
|
38
38
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
39
39
|
* @returns {Promise<TicketHistory>} - Success response
|
|
40
40
|
* @name createHistory
|
|
41
|
-
* @summary:
|
|
41
|
+
* @summary: Logs ticket history.
|
|
42
42
|
* @description: Create a history entry for a specific support ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/createHistory/).
|
|
43
43
|
*/
|
|
44
44
|
async createHistory(
|
|
@@ -237,7 +237,7 @@ class Lead {
|
|
|
237
237
|
/**
|
|
238
238
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
239
239
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
240
|
-
* @returns {Promise<
|
|
240
|
+
* @returns {Promise<SubmitCustomFormResponse>} - Success response
|
|
241
241
|
* @name submitCustomForm
|
|
242
242
|
* @summary: Submits form data
|
|
243
243
|
* @description: Create user-entered data from a custom form for processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/submitCustomForm/).
|