@gofynd/fdk-client-javascript 1.6.4 → 3.0.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 +113 -93
- package/sdk/application/Cart/CartApplicationClient.js +270 -139
- 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 +51 -21
- package/sdk/application/Content/ContentApplicationClient.js +197 -36
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
- package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
- 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 +12 -22
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
- 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 +406 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
- package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
- package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
- package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
- 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 -234
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
- 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 +424 -252
- package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -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 +1199 -462
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
- 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 +833 -1307
- package/sdk/platform/Content/ContentPlatformModel.js +893 -582
- 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 +502 -293
- package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4103 -9109
- package/sdk/platform/Order/OrderPlatformModel.js +3198 -4245
- 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 +3525 -1313
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
- 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 +2180 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
- 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 +6 -50
- package/sdk/platform/Share/SharePlatformModel.js +3 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
- 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/Billing/BillingPublicClient.d.ts +56 -0
- package/sdk/public/Billing/BillingPublicClient.js +397 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
- package/sdk/public/Billing/BillingPublicModel.js +560 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
- package/sdk/public/Billing/BillingPublicValidator.js +50 -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 +2 -2
- package/sdk/public/PublicClient.js +2 -2
- 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 +1 -1
- package/sdk/public/index.js +1 -1
- 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",
|
|
@@ -106,7 +110,7 @@ class Content {
|
|
|
106
110
|
* @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
111
|
*/
|
|
108
112
|
async getBlog(
|
|
109
|
-
{ slug, rootId,
|
|
113
|
+
{ slug, rootId, requestHeaders } = { requestHeaders: {} },
|
|
110
114
|
{ responseHeaders } = { responseHeaders: false }
|
|
111
115
|
) {
|
|
112
116
|
let invalidInput = [];
|
|
@@ -126,7 +130,6 @@ class Content {
|
|
|
126
130
|
|
|
127
131
|
const query_params = {};
|
|
128
132
|
query_params["root_id"] = rootId;
|
|
129
|
-
query_params["preview"] = preview;
|
|
130
133
|
|
|
131
134
|
const xHeaders = {};
|
|
132
135
|
|
|
@@ -154,7 +157,7 @@ class Content {
|
|
|
154
157
|
/**
|
|
155
158
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
156
159
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
157
|
-
* @returns {Promise<
|
|
160
|
+
* @returns {Promise<BlogGetResponse>} - Success response
|
|
158
161
|
* @name getBlogs
|
|
159
162
|
* @summary: List blogs
|
|
160
163
|
* @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
|
|
@@ -200,16 +203,113 @@ class Content {
|
|
|
200
203
|
return response;
|
|
201
204
|
}
|
|
202
205
|
|
|
206
|
+
/**
|
|
207
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
208
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
209
|
+
* @returns {Promise<CustomFieldDefinitionDetailResSchema>} - Success response
|
|
210
|
+
* @name getCustomFieldDefinition
|
|
211
|
+
* @summary: Get custom fields definition by id
|
|
212
|
+
* @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/).
|
|
213
|
+
*/
|
|
214
|
+
async getCustomFieldDefinition(
|
|
215
|
+
{ id, requestHeaders } = { requestHeaders: {} },
|
|
216
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
217
|
+
) {
|
|
218
|
+
let invalidInput = [];
|
|
219
|
+
|
|
220
|
+
if (!id) {
|
|
221
|
+
invalidInput.push({
|
|
222
|
+
message: `The 'id' field is required.`,
|
|
223
|
+
path: ["id"],
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
if (invalidInput.length) {
|
|
227
|
+
const error = new Error();
|
|
228
|
+
error.message = "Missing required field";
|
|
229
|
+
error.details = invalidInput;
|
|
230
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
const query_params = {};
|
|
234
|
+
|
|
235
|
+
const xHeaders = {};
|
|
236
|
+
|
|
237
|
+
const response = await ApplicationAPIClient.execute(
|
|
238
|
+
this._conf,
|
|
239
|
+
"get",
|
|
240
|
+
constructUrl({
|
|
241
|
+
url: this._urls["getCustomFieldDefinition"],
|
|
242
|
+
params: { id },
|
|
243
|
+
}),
|
|
244
|
+
query_params,
|
|
245
|
+
undefined,
|
|
246
|
+
{ ...xHeaders, ...requestHeaders },
|
|
247
|
+
{ responseHeaders }
|
|
248
|
+
);
|
|
249
|
+
|
|
250
|
+
let responseData = response;
|
|
251
|
+
if (responseHeaders) {
|
|
252
|
+
responseData = response[0];
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
return response;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
260
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
261
|
+
* @returns {Promise<CustomFieldDefinitionsSchema>} - Success response
|
|
262
|
+
* @name getCustomFieldDefinitions
|
|
263
|
+
* @summary: Get custom fields definitions
|
|
264
|
+
* @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/).
|
|
265
|
+
*/
|
|
266
|
+
async getCustomFieldDefinitions(
|
|
267
|
+
{ requestHeaders } = { requestHeaders: {} },
|
|
268
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
269
|
+
) {
|
|
270
|
+
let invalidInput = [];
|
|
271
|
+
if (invalidInput.length) {
|
|
272
|
+
const error = new Error();
|
|
273
|
+
error.message = "Missing required field";
|
|
274
|
+
error.details = invalidInput;
|
|
275
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
const query_params = {};
|
|
279
|
+
|
|
280
|
+
const xHeaders = {};
|
|
281
|
+
|
|
282
|
+
const response = await ApplicationAPIClient.execute(
|
|
283
|
+
this._conf,
|
|
284
|
+
"get",
|
|
285
|
+
constructUrl({
|
|
286
|
+
url: this._urls["getCustomFieldDefinitions"],
|
|
287
|
+
params: {},
|
|
288
|
+
}),
|
|
289
|
+
query_params,
|
|
290
|
+
undefined,
|
|
291
|
+
{ ...xHeaders, ...requestHeaders },
|
|
292
|
+
{ responseHeaders }
|
|
293
|
+
);
|
|
294
|
+
|
|
295
|
+
let responseData = response;
|
|
296
|
+
if (responseHeaders) {
|
|
297
|
+
responseData = response[0];
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
return response;
|
|
301
|
+
}
|
|
302
|
+
|
|
203
303
|
/**
|
|
204
304
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
205
305
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
206
306
|
* @returns {Promise<CustomFieldsResponseByResourceIdSchema>} - Success response
|
|
207
|
-
* @name
|
|
208
|
-
* @summary: Get list of custom fields of given resource
|
|
209
|
-
* @description:
|
|
307
|
+
* @name getCustomFields
|
|
308
|
+
* @summary: Get list of custom fields of given resource
|
|
309
|
+
* @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
310
|
*/
|
|
211
|
-
async
|
|
212
|
-
{ resource,
|
|
311
|
+
async getCustomFields(
|
|
312
|
+
{ resource, resourceIds, requestHeaders } = { requestHeaders: {} },
|
|
213
313
|
{ responseHeaders } = { responseHeaders: false }
|
|
214
314
|
) {
|
|
215
315
|
let invalidInput = [];
|
|
@@ -220,10 +320,10 @@ class Content {
|
|
|
220
320
|
path: ["resource"],
|
|
221
321
|
});
|
|
222
322
|
}
|
|
223
|
-
if (!
|
|
323
|
+
if (!resourceIds) {
|
|
224
324
|
invalidInput.push({
|
|
225
|
-
message: `The '
|
|
226
|
-
path: ["
|
|
325
|
+
message: `The 'resourceIds' field is required.`,
|
|
326
|
+
path: ["resourceIds"],
|
|
227
327
|
});
|
|
228
328
|
}
|
|
229
329
|
if (invalidInput.length) {
|
|
@@ -234,6 +334,7 @@ class Content {
|
|
|
234
334
|
}
|
|
235
335
|
|
|
236
336
|
const query_params = {};
|
|
337
|
+
query_params["resource_ids"] = resourceIds;
|
|
237
338
|
|
|
238
339
|
const xHeaders = {};
|
|
239
340
|
|
|
@@ -241,8 +342,8 @@ class Content {
|
|
|
241
342
|
this._conf,
|
|
242
343
|
"get",
|
|
243
344
|
constructUrl({
|
|
244
|
-
url: this._urls["
|
|
245
|
-
params: { resource
|
|
345
|
+
url: this._urls["getCustomFields"],
|
|
346
|
+
params: { resource },
|
|
246
347
|
}),
|
|
247
348
|
query_params,
|
|
248
349
|
undefined,
|
|
@@ -262,26 +363,80 @@ class Content {
|
|
|
262
363
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
263
364
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
264
365
|
* @returns {Promise<CustomObjectByIdSchema>} - Success response
|
|
265
|
-
* @name
|
|
266
|
-
* @summary: Get custom object
|
|
267
|
-
* @description: Details of
|
|
366
|
+
* @name getCustomObject
|
|
367
|
+
* @summary: Get custom object
|
|
368
|
+
* @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
369
|
*/
|
|
269
|
-
async
|
|
270
|
-
{
|
|
370
|
+
async getCustomObject(
|
|
371
|
+
{ id, requestHeaders } = { requestHeaders: {} },
|
|
271
372
|
{ responseHeaders } = { responseHeaders: false }
|
|
272
373
|
) {
|
|
273
374
|
let invalidInput = [];
|
|
274
375
|
|
|
275
|
-
if (!
|
|
376
|
+
if (!id) {
|
|
276
377
|
invalidInput.push({
|
|
277
|
-
message: `The '
|
|
278
|
-
path: ["
|
|
378
|
+
message: `The 'id' field is required.`,
|
|
379
|
+
path: ["id"],
|
|
279
380
|
});
|
|
280
381
|
}
|
|
281
|
-
if (
|
|
382
|
+
if (invalidInput.length) {
|
|
383
|
+
const error = new Error();
|
|
384
|
+
error.message = "Missing required field";
|
|
385
|
+
error.details = invalidInput;
|
|
386
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
const query_params = {};
|
|
390
|
+
|
|
391
|
+
const xHeaders = {};
|
|
392
|
+
|
|
393
|
+
const response = await ApplicationAPIClient.execute(
|
|
394
|
+
this._conf,
|
|
395
|
+
"get",
|
|
396
|
+
constructUrl({
|
|
397
|
+
url: this._urls["getCustomObject"],
|
|
398
|
+
params: { id },
|
|
399
|
+
}),
|
|
400
|
+
query_params,
|
|
401
|
+
undefined,
|
|
402
|
+
{ ...xHeaders, ...requestHeaders },
|
|
403
|
+
{ responseHeaders }
|
|
404
|
+
);
|
|
405
|
+
|
|
406
|
+
let responseData = response;
|
|
407
|
+
if (responseHeaders) {
|
|
408
|
+
responseData = response[0];
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
return response;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
416
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
417
|
+
* @returns {Promise<CustomObjectsSchema>} - Success response
|
|
418
|
+
* @name getCustomObjects
|
|
419
|
+
* @summary: Get list of custom objects
|
|
420
|
+
* @description: Use this API to retrieve the custom objects. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObjects/).
|
|
421
|
+
*/
|
|
422
|
+
async getCustomObjects(
|
|
423
|
+
{ pageNo, pageSize, definitionId, type, ids, search, requestHeaders } = {
|
|
424
|
+
requestHeaders: {},
|
|
425
|
+
},
|
|
426
|
+
{ responseHeaders } = { responseHeaders: false }
|
|
427
|
+
) {
|
|
428
|
+
let invalidInput = [];
|
|
429
|
+
|
|
430
|
+
if (!pageNo) {
|
|
282
431
|
invalidInput.push({
|
|
283
|
-
message: `The '
|
|
284
|
-
path: ["
|
|
432
|
+
message: `The 'pageNo' field is required.`,
|
|
433
|
+
path: ["pageNo"],
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
if (!pageSize) {
|
|
437
|
+
invalidInput.push({
|
|
438
|
+
message: `The 'pageSize' field is required.`,
|
|
439
|
+
path: ["pageSize"],
|
|
285
440
|
});
|
|
286
441
|
}
|
|
287
442
|
if (invalidInput.length) {
|
|
@@ -292,6 +447,12 @@ class Content {
|
|
|
292
447
|
}
|
|
293
448
|
|
|
294
449
|
const query_params = {};
|
|
450
|
+
query_params["definition_id"] = definitionId;
|
|
451
|
+
query_params["page_no"] = pageNo;
|
|
452
|
+
query_params["page_size"] = pageSize;
|
|
453
|
+
query_params["type"] = type;
|
|
454
|
+
query_params["ids"] = ids;
|
|
455
|
+
query_params["search"] = search;
|
|
295
456
|
|
|
296
457
|
const xHeaders = {};
|
|
297
458
|
|
|
@@ -299,8 +460,8 @@ class Content {
|
|
|
299
460
|
this._conf,
|
|
300
461
|
"get",
|
|
301
462
|
constructUrl({
|
|
302
|
-
url: this._urls["
|
|
303
|
-
params: {
|
|
463
|
+
url: this._urls["getCustomObjects"],
|
|
464
|
+
params: {},
|
|
304
465
|
}),
|
|
305
466
|
query_params,
|
|
306
467
|
undefined,
|
|
@@ -613,7 +774,7 @@ class Content {
|
|
|
613
774
|
* @returns {Promise<LandingPageSchema>} - Success response
|
|
614
775
|
* @name getLandingPage
|
|
615
776
|
* @summary: Get a landing page
|
|
616
|
-
* @description:
|
|
777
|
+
* @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
778
|
*/
|
|
618
779
|
async getLandingPage(
|
|
619
780
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -700,7 +861,7 @@ class Content {
|
|
|
700
861
|
/**
|
|
701
862
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
702
863
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
703
|
-
* @returns {Promise<
|
|
864
|
+
* @returns {Promise<NavigationGetResponse>} - Success response
|
|
704
865
|
* @name getNavigations
|
|
705
866
|
* @summary: List navigation items
|
|
706
867
|
* @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 +910,8 @@ class Content {
|
|
|
749
910
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
750
911
|
* @returns {Promise<PageSchema>} - Success response
|
|
751
912
|
* @name getPage
|
|
752
|
-
* @summary: Get
|
|
753
|
-
* @description: Get detailed information
|
|
913
|
+
* @summary: Get page by slug
|
|
914
|
+
* @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
915
|
*/
|
|
755
916
|
async getPage(
|
|
756
917
|
{ slug, rootId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -800,10 +961,10 @@ class Content {
|
|
|
800
961
|
/**
|
|
801
962
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
802
963
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
803
|
-
* @returns {Promise<
|
|
964
|
+
* @returns {Promise<PageGetResponse>} - Success response
|
|
804
965
|
* @name getPages
|
|
805
966
|
* @summary: Lists pages
|
|
806
|
-
* @description: Lists all Custom Pages
|
|
967
|
+
* @description: Lists all Custom Pages - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
|
|
807
968
|
*/
|
|
808
969
|
async getPages(
|
|
809
970
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -12,30 +12,30 @@ declare class FileStorage {
|
|
|
12
12
|
/**
|
|
13
13
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
14
14
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
15
|
-
* @returns {Promise<
|
|
15
|
+
* @returns {Promise<CompleteResponse>} - Success response
|
|
16
16
|
* @name completeUpload
|
|
17
17
|
* @summary: Finalizes upload process.
|
|
18
18
|
* @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/completeUpload/).
|
|
19
19
|
*/
|
|
20
|
-
completeUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
20
|
+
completeUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CompleteResponse>;
|
|
21
21
|
/**
|
|
22
22
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
23
23
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
24
|
-
* @returns {Promise<
|
|
24
|
+
* @returns {Promise<SignUrlResponse>} - Success response
|
|
25
25
|
* @name signUrls
|
|
26
26
|
* @summary: Signs file URLs.
|
|
27
27
|
* @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/signUrls/).
|
|
28
28
|
*/
|
|
29
|
-
signUrls({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
29
|
+
signUrls({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SignUrlResponse>;
|
|
30
30
|
/**
|
|
31
31
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
32
32
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
33
|
-
* @returns {Promise<
|
|
33
|
+
* @returns {Promise<StartResponse>} - Success response
|
|
34
34
|
* @name startUpload
|
|
35
35
|
* @summary: Initiates file upload
|
|
36
36
|
* @description: Starts the process of uploading a file to storage location, and returns a signed url in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/startUpload/).
|
|
37
37
|
*/
|
|
38
|
-
startUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
38
|
+
startUpload({ namespace, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<StartResponse>;
|
|
39
39
|
/**
|
|
40
40
|
* @param data
|
|
41
41
|
* @param {string} file_name
|
|
@@ -38,7 +38,7 @@ class FileStorage {
|
|
|
38
38
|
/**
|
|
39
39
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
40
40
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
41
|
-
* @returns {Promise<
|
|
41
|
+
* @returns {Promise<CompleteResponse>} - Success response
|
|
42
42
|
* @name completeUpload
|
|
43
43
|
* @summary: Finalizes upload process.
|
|
44
44
|
* @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/completeUpload/).
|
|
@@ -90,7 +90,7 @@ class FileStorage {
|
|
|
90
90
|
/**
|
|
91
91
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
92
92
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
93
|
-
* @returns {Promise<
|
|
93
|
+
* @returns {Promise<SignUrlResponse>} - Success response
|
|
94
94
|
* @name signUrls
|
|
95
95
|
* @summary: Signs file URLs.
|
|
96
96
|
* @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/signUrls/).
|
|
@@ -135,7 +135,7 @@ class FileStorage {
|
|
|
135
135
|
/**
|
|
136
136
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
137
137
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
138
|
-
* @returns {Promise<
|
|
138
|
+
* @returns {Promise<StartResponse>} - Success response
|
|
139
139
|
* @name startUpload
|
|
140
140
|
* @summary: Initiates file upload
|
|
141
141
|
* @description: Starts the process of uploading a file to storage location, and returns a signed url in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/filestorage/startUpload/).
|
|
@@ -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/).
|