@gofynd/fdk-client-javascript 1.4.15-beta.13 → 1.4.15-beta.15
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 +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9571 -2674
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5081 -2019
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -22,7 +22,7 @@ class Configuration {
|
|
|
22
22
|
* @returns {Promise<ConfigurationPlatformModel.Domain>} - Success response
|
|
23
23
|
* @name addDomain
|
|
24
24
|
* @summary: Create domain
|
|
25
|
-
* @description: Creates a domain for an sales channel. Note - Only 15 domains can be added to the sales channel - Check out [method documentation](https://
|
|
25
|
+
* @description: Creates a domain for an sales channel. Note - Only 15 domains can be added to the sales channel - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/addDomain/).
|
|
26
26
|
*/
|
|
27
27
|
async addDomain(
|
|
28
28
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -100,10 +100,11 @@ class Configuration {
|
|
|
100
100
|
*
|
|
101
101
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
102
102
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
103
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
103
|
+
* @returns {Promise<ConfigurationPlatformModel.DomainsResponseSchema>} -
|
|
104
|
+
* Success response
|
|
104
105
|
* @name changeDomainType
|
|
105
106
|
* @summary: Update domain
|
|
106
|
-
* @description: Modify the type of a specific domain. Primary domain is used as the URL of your website. Short link domain is comparatively smaller and used while generating short links. - Check out [method documentation](https://
|
|
107
|
+
* @description: Modify the type of a specific domain. Primary domain is used as the URL of your website. Short link domain is comparatively smaller and used while generating short links. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/changeDomainType/).
|
|
107
108
|
*/
|
|
108
109
|
async changeDomainType(
|
|
109
110
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -156,10 +157,10 @@ class Configuration {
|
|
|
156
157
|
|
|
157
158
|
const {
|
|
158
159
|
error: res_error,
|
|
159
|
-
} = ConfigurationPlatformModel.
|
|
160
|
-
|
|
161
|
-
allowUnknown: true
|
|
162
|
-
|
|
160
|
+
} = ConfigurationPlatformModel.DomainsResponseSchema().validate(
|
|
161
|
+
responseData,
|
|
162
|
+
{ abortEarly: false, allowUnknown: true }
|
|
163
|
+
);
|
|
163
164
|
|
|
164
165
|
if (res_error) {
|
|
165
166
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -181,10 +182,11 @@ class Configuration {
|
|
|
181
182
|
*
|
|
182
183
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
183
184
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
184
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
185
|
+
* @returns {Promise<ConfigurationPlatformModel.TokenResponseSchema>} -
|
|
186
|
+
* Success response
|
|
185
187
|
* @name getAppApiTokens
|
|
186
188
|
* @summary: Get sales channel API tokens
|
|
187
|
-
* @description: Retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth.
|
|
189
|
+
* @description: Retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppApiTokens/).
|
|
188
190
|
*/
|
|
189
191
|
async getAppApiTokens(
|
|
190
192
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -233,10 +235,10 @@ class Configuration {
|
|
|
233
235
|
|
|
234
236
|
const {
|
|
235
237
|
error: res_error,
|
|
236
|
-
} = ConfigurationPlatformModel.
|
|
237
|
-
|
|
238
|
-
allowUnknown: true
|
|
239
|
-
|
|
238
|
+
} = ConfigurationPlatformModel.TokenResponseSchema().validate(
|
|
239
|
+
responseData,
|
|
240
|
+
{ abortEarly: false, allowUnknown: true }
|
|
241
|
+
);
|
|
240
242
|
|
|
241
243
|
if (res_error) {
|
|
242
244
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -261,7 +263,7 @@ class Configuration {
|
|
|
261
263
|
* @returns {Promise<ConfigurationPlatformModel.ApplicationDetail>} - Success response
|
|
262
264
|
* @name getAppBasicDetails
|
|
263
265
|
* @summary: Get sales channel
|
|
264
|
-
* @description: Shows basic sales channel details like name, description, logo, domain, company ID, and other related information. - Check out [method documentation](https://
|
|
266
|
+
* @description: Shows basic sales channel details like name, description, logo, domain, company ID, and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppBasicDetails/).
|
|
265
267
|
*/
|
|
266
268
|
async getAppBasicDetails(
|
|
267
269
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -335,10 +337,11 @@ class Configuration {
|
|
|
335
337
|
*
|
|
336
338
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
337
339
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
338
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
340
|
+
* @returns {Promise<ConfigurationPlatformModel.CompaniesResponseSchema>} -
|
|
341
|
+
* Success response
|
|
339
342
|
* @name getAppCompanies
|
|
340
343
|
* @summary: List sales channel companies
|
|
341
|
-
* @description: Retrieve info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel sales channel - Check out [method documentation](https://
|
|
344
|
+
* @description: Retrieve info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel sales channel - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppCompanies/).
|
|
342
345
|
*/
|
|
343
346
|
async getAppCompanies(
|
|
344
347
|
{ uid, pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -398,10 +401,10 @@ class Configuration {
|
|
|
398
401
|
|
|
399
402
|
const {
|
|
400
403
|
error: res_error,
|
|
401
|
-
} = ConfigurationPlatformModel.
|
|
402
|
-
|
|
403
|
-
allowUnknown: true
|
|
404
|
-
|
|
404
|
+
} = ConfigurationPlatformModel.CompaniesResponseSchema().validate(
|
|
405
|
+
responseData,
|
|
406
|
+
{ abortEarly: false, allowUnknown: true }
|
|
407
|
+
);
|
|
405
408
|
|
|
406
409
|
if (res_error) {
|
|
407
410
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -427,7 +430,7 @@ class Configuration {
|
|
|
427
430
|
* Success response
|
|
428
431
|
* @name getAppContactInfo
|
|
429
432
|
* @summary: Get sales channel contact
|
|
430
|
-
* @description: Fetch data such as social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the sales channel. - Check out [method documentation](https://
|
|
433
|
+
* @description: Fetch data such as social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the sales channel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppContactInfo/).
|
|
431
434
|
*/
|
|
432
435
|
async getAppContactInfo(
|
|
433
436
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -505,7 +508,7 @@ class Configuration {
|
|
|
505
508
|
* Success response
|
|
506
509
|
* @name getAppCurrencyConfig
|
|
507
510
|
* @summary: Get sales channel currency configuration
|
|
508
|
-
* @description: Retrieve a list of currencies supported in the current sales channel. Moreover, get the cuurency that is set as the default one in the sales channel. - Check out [method documentation](https://
|
|
511
|
+
* @description: Retrieve a list of currencies supported in the current sales channel. Moreover, get the cuurency that is set as the default one in the sales channel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppCurrencyConfig/).
|
|
509
512
|
*/
|
|
510
513
|
async getAppCurrencyConfig(
|
|
511
514
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -579,11 +582,12 @@ class Configuration {
|
|
|
579
582
|
*
|
|
580
583
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
581
584
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
582
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
583
|
-
* Success response
|
|
585
|
+
* @returns {Promise<ConfigurationPlatformModel.AppFeatureResponseSchema>}
|
|
586
|
+
* - Success response
|
|
587
|
+
*
|
|
584
588
|
* @name getAppFeatures
|
|
585
589
|
* @summary: Get sales channel
|
|
586
|
-
* @description: Shows feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://
|
|
590
|
+
* @description: Shows feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppFeatures/).
|
|
587
591
|
*/
|
|
588
592
|
async getAppFeatures(
|
|
589
593
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -632,10 +636,10 @@ class Configuration {
|
|
|
632
636
|
|
|
633
637
|
const {
|
|
634
638
|
error: res_error,
|
|
635
|
-
} = ConfigurationPlatformModel.
|
|
636
|
-
|
|
637
|
-
allowUnknown: true
|
|
638
|
-
|
|
639
|
+
} = ConfigurationPlatformModel.AppFeatureResponseSchema().validate(
|
|
640
|
+
responseData,
|
|
641
|
+
{ abortEarly: false, allowUnknown: true }
|
|
642
|
+
);
|
|
639
643
|
|
|
640
644
|
if (res_error) {
|
|
641
645
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -657,10 +661,11 @@ class Configuration {
|
|
|
657
661
|
*
|
|
658
662
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
659
663
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
660
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
664
|
+
* @returns {Promise<ConfigurationPlatformModel.StoresResponseSchema>} -
|
|
665
|
+
* Success response
|
|
661
666
|
* @name getAppStores
|
|
662
667
|
* @summary: list sales channel stores
|
|
663
|
-
* @description: Retrieve information of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel sales channel - Check out [method documentation](https://
|
|
668
|
+
* @description: Retrieve information of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel sales channel - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppStores/).
|
|
664
669
|
*/
|
|
665
670
|
async getAppStores(
|
|
666
671
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -717,10 +722,10 @@ class Configuration {
|
|
|
717
722
|
|
|
718
723
|
const {
|
|
719
724
|
error: res_error,
|
|
720
|
-
} = ConfigurationPlatformModel.
|
|
721
|
-
|
|
722
|
-
allowUnknown: true
|
|
723
|
-
|
|
725
|
+
} = ConfigurationPlatformModel.StoresResponseSchema().validate(
|
|
726
|
+
responseData,
|
|
727
|
+
{ abortEarly: false, allowUnknown: true }
|
|
728
|
+
);
|
|
724
729
|
|
|
725
730
|
if (res_error) {
|
|
726
731
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -742,11 +747,12 @@ class Configuration {
|
|
|
742
747
|
*
|
|
743
748
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
744
749
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
745
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
746
|
-
* Success response
|
|
750
|
+
* @returns {Promise<ConfigurationPlatformModel.AppCurrencyResponseSchema>}
|
|
751
|
+
* - Success response
|
|
752
|
+
*
|
|
747
753
|
* @name getAppSupportedCurrency
|
|
748
754
|
* @summary: List supported currencies
|
|
749
|
-
* @description: Retrieve a list of supported currencies for the sales channel. A list of currencies allowed in the current sales channel. Moreover, get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://
|
|
755
|
+
* @description: Retrieve a list of supported currencies for the sales channel. A list of currencies allowed in the current sales channel. Moreover, get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getAppSupportedCurrency/).
|
|
750
756
|
*/
|
|
751
757
|
async getAppSupportedCurrency(
|
|
752
758
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -795,7 +801,7 @@ class Configuration {
|
|
|
795
801
|
|
|
796
802
|
const {
|
|
797
803
|
error: res_error,
|
|
798
|
-
} = ConfigurationPlatformModel.
|
|
804
|
+
} = ConfigurationPlatformModel.AppCurrencyResponseSchema().validate(
|
|
799
805
|
responseData,
|
|
800
806
|
{ abortEarly: false, allowUnknown: true }
|
|
801
807
|
);
|
|
@@ -823,7 +829,7 @@ class Configuration {
|
|
|
823
829
|
* @returns {Promise<ConfigurationPlatformModel.ApplicationById>} - Success response
|
|
824
830
|
* @name getApplicationById
|
|
825
831
|
* @summary: Get sales channel by id
|
|
826
|
-
* @description: Retrieve detailed information about a specific sales channel. Use sales channel ID to get the current sales channel details which includes channel name, description, banner, logo, favicon, domain details, token, etc. - Check out [method documentation](https://
|
|
832
|
+
* @description: Retrieve detailed information about a specific sales channel. Use sales channel ID to get the current sales channel details which includes channel name, description, banner, logo, favicon, domain details, token, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getApplicationById/).
|
|
827
833
|
*/
|
|
828
834
|
async getApplicationById(
|
|
829
835
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -901,7 +907,7 @@ class Configuration {
|
|
|
901
907
|
* Success response
|
|
902
908
|
* @name getBuildConfig
|
|
903
909
|
* @summary: Get Build Configuration
|
|
904
|
-
* @description: Retrieve latest build configuration, such as app name, landing page image, splash image used in a mobile build. - Check out [method documentation](https://
|
|
910
|
+
* @description: Retrieve latest build configuration, such as app name, landing page image, splash image used in a mobile build. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getBuildConfig/).
|
|
905
911
|
*/
|
|
906
912
|
async getBuildConfig(
|
|
907
913
|
{ platformType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -979,11 +985,12 @@ class Configuration {
|
|
|
979
985
|
*
|
|
980
986
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
981
987
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
982
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
983
|
-
* Success response
|
|
988
|
+
* @returns {Promise<ConfigurationPlatformModel.DomainStatusResponseSchema>}
|
|
989
|
+
* - Success response
|
|
990
|
+
*
|
|
984
991
|
* @name getDomainStatus
|
|
985
992
|
* @summary: Get domain status
|
|
986
|
-
* @description: Retrieve the status of a specific domain. Shows if the A records and TXT records of the domain correctly points to appropriate IP on Fynd Servers. - Check out [method documentation](https://
|
|
993
|
+
* @description: Retrieve the status of a specific domain. Shows if the A records and TXT records of the domain correctly points to appropriate IP on Fynd Servers. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getDomainStatus/).
|
|
987
994
|
*/
|
|
988
995
|
async getDomainStatus(
|
|
989
996
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1036,7 +1043,7 @@ class Configuration {
|
|
|
1036
1043
|
|
|
1037
1044
|
const {
|
|
1038
1045
|
error: res_error,
|
|
1039
|
-
} = ConfigurationPlatformModel.
|
|
1046
|
+
} = ConfigurationPlatformModel.DomainStatusResponseSchema().validate(
|
|
1040
1047
|
responseData,
|
|
1041
1048
|
{ abortEarly: false, allowUnknown: true }
|
|
1042
1049
|
);
|
|
@@ -1059,10 +1066,11 @@ class Configuration {
|
|
|
1059
1066
|
* @param {ConfigurationPlatformApplicationValidator.GetDomainsParam} arg - Arg object
|
|
1060
1067
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1061
1068
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1062
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
1069
|
+
* @returns {Promise<ConfigurationPlatformModel.DomainsResponseSchema>} -
|
|
1070
|
+
* Success response
|
|
1063
1071
|
* @name getDomains
|
|
1064
1072
|
* @summary: List domains
|
|
1065
|
-
* @description: Retrieve a list of existing domains by its sales channel
|
|
1073
|
+
* @description: Retrieve a list of existing domains by its sales channel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getDomains/).
|
|
1066
1074
|
*/
|
|
1067
1075
|
async getDomains(
|
|
1068
1076
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1111,10 +1119,10 @@ class Configuration {
|
|
|
1111
1119
|
|
|
1112
1120
|
const {
|
|
1113
1121
|
error: res_error,
|
|
1114
|
-
} = ConfigurationPlatformModel.
|
|
1115
|
-
|
|
1116
|
-
allowUnknown: true
|
|
1117
|
-
|
|
1122
|
+
} = ConfigurationPlatformModel.DomainsResponseSchema().validate(
|
|
1123
|
+
responseData,
|
|
1124
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1125
|
+
);
|
|
1118
1126
|
|
|
1119
1127
|
if (res_error) {
|
|
1120
1128
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1140,7 +1148,7 @@ class Configuration {
|
|
|
1140
1148
|
* Success response
|
|
1141
1149
|
* @name getInventoryConfig
|
|
1142
1150
|
* @summary: Get inventory configuration
|
|
1143
|
-
* @description: Retrieve configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://
|
|
1151
|
+
* @description: Retrieve configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getInventoryConfig/).
|
|
1144
1152
|
*/
|
|
1145
1153
|
async getInventoryConfig(
|
|
1146
1154
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1218,7 +1226,7 @@ class Configuration {
|
|
|
1218
1226
|
* Success response
|
|
1219
1227
|
* @name getOrderingStoreConfig
|
|
1220
1228
|
* @summary: Get ordering store configuration
|
|
1221
|
-
* @description: Retrieve configuration settings for ordering stores. Retrieve the details of the deployment stores (the selling locations where the sales channel will be utilised for placing orders). - Check out [method documentation](https://
|
|
1229
|
+
* @description: Retrieve configuration settings for ordering stores. Retrieve the details of the deployment stores (the selling locations where the sales channel will be utilised for placing orders). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getOrderingStoreConfig/).
|
|
1222
1230
|
*/
|
|
1223
1231
|
async getOrderingStoreConfig(
|
|
1224
1232
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1292,11 +1300,12 @@ class Configuration {
|
|
|
1292
1300
|
*
|
|
1293
1301
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1294
1302
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1295
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
1296
|
-
* Success response
|
|
1303
|
+
* @returns {Promise<ConfigurationPlatformModel.SuccessMessageResponseSchema>}
|
|
1304
|
+
* - Success response
|
|
1305
|
+
*
|
|
1297
1306
|
* @name getOrderingStoreCookie
|
|
1298
1307
|
* @summary: Get ordering store signed cookie
|
|
1299
|
-
* @description: Use this API to get an Ordering Store signed cookie upon selecting an ordering store. This will be used by the cart service to verify a coupon against the selected ordering store in cart. - Check out [method documentation](https://
|
|
1308
|
+
* @description: Use this API to get an Ordering Store signed cookie upon selecting an ordering store. This will be used by the cart service to verify a coupon against the selected ordering store in cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getOrderingStoreCookie/).
|
|
1300
1309
|
*/
|
|
1301
1310
|
async getOrderingStoreCookie(
|
|
1302
1311
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1349,7 +1358,7 @@ class Configuration {
|
|
|
1349
1358
|
|
|
1350
1359
|
const {
|
|
1351
1360
|
error: res_error,
|
|
1352
|
-
} = ConfigurationPlatformModel.
|
|
1361
|
+
} = ConfigurationPlatformModel.SuccessMessageResponseSchema().validate(
|
|
1353
1362
|
responseData,
|
|
1354
1363
|
{ abortEarly: false, allowUnknown: true }
|
|
1355
1364
|
);
|
|
@@ -1377,7 +1386,7 @@ class Configuration {
|
|
|
1377
1386
|
* @returns {Promise<ConfigurationPlatformModel.OrderingStores>} - Success response
|
|
1378
1387
|
* @name getOrderingStoresByFilter
|
|
1379
1388
|
* @summary: List ordering stores
|
|
1380
|
-
* @description: Retrieve ordering stores based on specified filters. Use filters and retrieve the details of the deployment stores (the selling locations where the sales channel will be utilised for placing orders). - Check out [method documentation](https://
|
|
1389
|
+
* @description: Retrieve ordering stores based on specified filters. Use filters and retrieve the details of the deployment stores (the selling locations where the sales channel will be utilised for placing orders). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getOrderingStoresByFilter/).
|
|
1381
1390
|
*/
|
|
1382
1391
|
async getOrderingStoresByFilter(
|
|
1383
1392
|
{ body, pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1422,7 +1431,7 @@ class Configuration {
|
|
|
1422
1431
|
const response = await PlatformAPIClient.execute(
|
|
1423
1432
|
this.config,
|
|
1424
1433
|
"post",
|
|
1425
|
-
`/service/platform/configuration/
|
|
1434
|
+
`/service/platform/configuration/v2.0/company/${this.config.companyId}/application/${this.applicationId}/ordering-store/stores/filter`,
|
|
1426
1435
|
query_params,
|
|
1427
1436
|
body,
|
|
1428
1437
|
requestHeaders,
|
|
@@ -1465,7 +1474,7 @@ class Configuration {
|
|
|
1465
1474
|
* Success response
|
|
1466
1475
|
* @name getPreviousVersions
|
|
1467
1476
|
* @summary: Get previous versions
|
|
1468
|
-
* @description: Retrieve version details of the app, this includes the build status, build date, version name, latest version, and a lot more. - Check out [method documentation](https://
|
|
1477
|
+
* @description: Retrieve version details of the app, this includes the build status, build date, version name, latest version, and a lot more. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getPreviousVersions/).
|
|
1469
1478
|
*/
|
|
1470
1479
|
async getPreviousVersions(
|
|
1471
1480
|
{ platformType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1543,11 +1552,12 @@ class Configuration {
|
|
|
1543
1552
|
*
|
|
1544
1553
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1545
1554
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1546
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
1547
|
-
* Success response
|
|
1555
|
+
* @returns {Promise<ConfigurationPlatformModel.OrderingStoresResponseSchema>}
|
|
1556
|
+
* - Success response
|
|
1557
|
+
*
|
|
1548
1558
|
* @name getStaffOrderingStores
|
|
1549
1559
|
* @summary: Get staff ordering stores
|
|
1550
|
-
* @description: Retrieve ordering stores accessible to staff members. Retrieve the details of all stores access given to the staff member (the selling locations where the sales channel will be utilized for placing orders). - Check out [method documentation](https://
|
|
1560
|
+
* @description: Retrieve ordering stores accessible to staff members. Retrieve the details of all stores access given to the staff member (the selling locations where the sales channel will be utilized for placing orders). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/getStaffOrderingStores/).
|
|
1551
1561
|
*/
|
|
1552
1562
|
async getStaffOrderingStores(
|
|
1553
1563
|
{ pageNo, pageSize, q, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1593,7 +1603,7 @@ class Configuration {
|
|
|
1593
1603
|
const response = await PlatformAPIClient.execute(
|
|
1594
1604
|
this.config,
|
|
1595
1605
|
"get",
|
|
1596
|
-
`/service/platform/configuration/
|
|
1606
|
+
`/service/platform/configuration/v2.0/company/${this.config.companyId}/application/${this.applicationId}/ordering-store/staff-stores`,
|
|
1597
1607
|
query_params,
|
|
1598
1608
|
undefined,
|
|
1599
1609
|
requestHeaders,
|
|
@@ -1607,7 +1617,7 @@ class Configuration {
|
|
|
1607
1617
|
|
|
1608
1618
|
const {
|
|
1609
1619
|
error: res_error,
|
|
1610
|
-
} = ConfigurationPlatformModel.
|
|
1620
|
+
} = ConfigurationPlatformModel.OrderingStoresResponseSchema().validate(
|
|
1611
1621
|
responseData,
|
|
1612
1622
|
{ abortEarly: false, allowUnknown: true }
|
|
1613
1623
|
);
|
|
@@ -1635,7 +1645,7 @@ class Configuration {
|
|
|
1635
1645
|
* @returns {Promise<ConfigurationPlatformModel.AppFeature>} - Success response
|
|
1636
1646
|
* @name modifyAppFeatures
|
|
1637
1647
|
* @summary: update sales channel features
|
|
1638
|
-
* @description: Modify the feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://
|
|
1648
|
+
* @description: Modify the feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/modifyAppFeatures/).
|
|
1639
1649
|
*/
|
|
1640
1650
|
async modifyAppFeatures(
|
|
1641
1651
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1717,7 +1727,7 @@ class Configuration {
|
|
|
1717
1727
|
* Success response
|
|
1718
1728
|
* @name partiallyUpdateInventoryConfig
|
|
1719
1729
|
* @summary: Partially update inventory configuration
|
|
1720
|
-
* @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://
|
|
1730
|
+
* @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/partiallyUpdateInventoryConfig/).
|
|
1721
1731
|
*/
|
|
1722
1732
|
async partiallyUpdateInventoryConfig(
|
|
1723
1733
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1795,11 +1805,12 @@ class Configuration {
|
|
|
1795
1805
|
*
|
|
1796
1806
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1797
1807
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1798
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
1799
|
-
* Success response
|
|
1808
|
+
* @returns {Promise<ConfigurationPlatformModel.SuccessMessageResponseSchema>}
|
|
1809
|
+
* - Success response
|
|
1810
|
+
*
|
|
1800
1811
|
* @name removeDomainById
|
|
1801
1812
|
* @summary: Remove domain
|
|
1802
|
-
* @description: Delete a specific domain from the sales channel. Delete a domain (secondary or shortlink domain) added to a sales channel. It will disable user's access to website, shared links, and other features associated with this domain. - Check out [method documentation](https://
|
|
1813
|
+
* @description: Delete a specific domain from the sales channel. Delete a domain (secondary or shortlink domain) added to a sales channel. It will disable user's access to website, shared links, and other features associated with this domain. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/removeDomainById/).
|
|
1803
1814
|
*/
|
|
1804
1815
|
async removeDomainById(
|
|
1805
1816
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1852,7 +1863,7 @@ class Configuration {
|
|
|
1852
1863
|
|
|
1853
1864
|
const {
|
|
1854
1865
|
error: res_error,
|
|
1855
|
-
} = ConfigurationPlatformModel.
|
|
1866
|
+
} = ConfigurationPlatformModel.SuccessMessageResponseSchema().validate(
|
|
1856
1867
|
responseData,
|
|
1857
1868
|
{ abortEarly: false, allowUnknown: true }
|
|
1858
1869
|
);
|
|
@@ -1877,11 +1888,12 @@ class Configuration {
|
|
|
1877
1888
|
*
|
|
1878
1889
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1879
1890
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1880
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
1881
|
-
* Success response
|
|
1891
|
+
* @returns {Promise<ConfigurationPlatformModel.SuccessMessageResponseSchema>}
|
|
1892
|
+
* - Success response
|
|
1893
|
+
*
|
|
1882
1894
|
* @name removeOrderingStoreCookie
|
|
1883
1895
|
* @summary: Delete Ordering Store signed cookie
|
|
1884
|
-
* @description: Use this API to unset the Ordering Store cookie upon changing the sales channel, by its domain URL, in the Universal Fynd Store app. - Check out [method documentation](https://
|
|
1896
|
+
* @description: Use this API to unset the Ordering Store cookie upon changing the sales channel, by its domain URL, in the Universal Fynd Store app. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/removeOrderingStoreCookie/).
|
|
1885
1897
|
*/
|
|
1886
1898
|
async removeOrderingStoreCookie(
|
|
1887
1899
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1930,7 +1942,7 @@ class Configuration {
|
|
|
1930
1942
|
|
|
1931
1943
|
const {
|
|
1932
1944
|
error: res_error,
|
|
1933
|
-
} = ConfigurationPlatformModel.
|
|
1945
|
+
} = ConfigurationPlatformModel.SuccessMessageResponseSchema().validate(
|
|
1934
1946
|
responseData,
|
|
1935
1947
|
{ abortEarly: false, allowUnknown: true }
|
|
1936
1948
|
);
|
|
@@ -1955,10 +1967,11 @@ class Configuration {
|
|
|
1955
1967
|
*
|
|
1956
1968
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1957
1969
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1958
|
-
* @returns {Promise<ConfigurationPlatformModel.
|
|
1970
|
+
* @returns {Promise<ConfigurationPlatformModel.TokenResponseSchema>} -
|
|
1971
|
+
* Success response
|
|
1959
1972
|
* @name updateAppApiTokens
|
|
1960
1973
|
* @summary: Update sales channel API tokens
|
|
1961
|
-
* @description: Add and edit the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google and Facebook auth. - Check out [method documentation](https://
|
|
1974
|
+
* @description: Add and edit the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google and Facebook auth. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateAppApiTokens/).
|
|
1962
1975
|
*/
|
|
1963
1976
|
async updateAppApiTokens(
|
|
1964
1977
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2011,10 +2024,10 @@ class Configuration {
|
|
|
2011
2024
|
|
|
2012
2025
|
const {
|
|
2013
2026
|
error: res_error,
|
|
2014
|
-
} = ConfigurationPlatformModel.
|
|
2015
|
-
|
|
2016
|
-
allowUnknown: true
|
|
2017
|
-
|
|
2027
|
+
} = ConfigurationPlatformModel.TokenResponseSchema().validate(
|
|
2028
|
+
responseData,
|
|
2029
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2030
|
+
);
|
|
2018
2031
|
|
|
2019
2032
|
if (res_error) {
|
|
2020
2033
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2039,7 +2052,7 @@ class Configuration {
|
|
|
2039
2052
|
* @returns {Promise<ConfigurationPlatformModel.ApplicationDetail>} - Success response
|
|
2040
2053
|
* @name updateAppBasicDetails
|
|
2041
2054
|
* @summary: Update sales channel basic details
|
|
2042
|
-
* @description: Modify sales channel details like name, description, logo, domain, company ID, and other related information. - Check out [method documentation](https://
|
|
2055
|
+
* @description: Modify sales channel details like name, description, logo, domain, company ID, and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateAppBasicDetails/).
|
|
2043
2056
|
*/
|
|
2044
2057
|
async updateAppBasicDetails(
|
|
2045
2058
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2121,7 +2134,7 @@ class Configuration {
|
|
|
2121
2134
|
* Success response
|
|
2122
2135
|
* @name updateAppContactInfo
|
|
2123
2136
|
* @summary: Update sales channel contact
|
|
2124
|
-
* @description: Modify the social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the sales channel. - Check out [method documentation](https://
|
|
2137
|
+
* @description: Modify the social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the sales channel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateAppContactInfo/).
|
|
2125
2138
|
*/
|
|
2126
2139
|
async updateAppContactInfo(
|
|
2127
2140
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2203,7 +2216,7 @@ class Configuration {
|
|
|
2203
2216
|
* Success response
|
|
2204
2217
|
* @name updateAppCurrencyConfig
|
|
2205
2218
|
* @summary: Update sales channel currency configuration
|
|
2206
|
-
* @description: Modify currency configuration settings for the sales channel. Add and edit the currencies supported in the sales channel. Initially, INR will be enabled by default. - Check out [method documentation](https://
|
|
2219
|
+
* @description: Modify currency configuration settings for the sales channel. Add and edit the currencies supported in the sales channel. Initially, INR will be enabled by default. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateAppCurrencyConfig/).
|
|
2207
2220
|
*/
|
|
2208
2221
|
async updateAppCurrencyConfig(
|
|
2209
2222
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2284,7 +2297,7 @@ class Configuration {
|
|
|
2284
2297
|
* @returns {Promise<ConfigurationPlatformModel.AppFeature>} - Success response
|
|
2285
2298
|
* @name updateAppFeatures
|
|
2286
2299
|
* @summary: Update sales channel
|
|
2287
|
-
* @description: Modify the feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://
|
|
2300
|
+
* @description: Modify the feature configuration of sales channel websites, such as product detail, landing page, options in the login/registration screen, home page, listing page, reward points, communication opt-in, cart options and many more. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateAppFeatures/).
|
|
2288
2301
|
*/
|
|
2289
2302
|
async updateAppFeatures(
|
|
2290
2303
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2366,7 +2379,7 @@ class Configuration {
|
|
|
2366
2379
|
* Success response
|
|
2367
2380
|
* @name updateBuildConfig
|
|
2368
2381
|
* @summary: Update build configuration
|
|
2369
|
-
* @description: Modify the existing build configuration, such as app name, landing page image, splash image used in a mobile build. - Check out [method documentation](https://
|
|
2382
|
+
* @description: Modify the existing build configuration, such as app name, landing page image, splash image used in a mobile build. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateBuildConfig/).
|
|
2370
2383
|
*/
|
|
2371
2384
|
async updateBuildConfig(
|
|
2372
2385
|
{ platformType, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2450,7 +2463,7 @@ class Configuration {
|
|
|
2450
2463
|
* Success response
|
|
2451
2464
|
* @name updateInventoryConfig
|
|
2452
2465
|
* @summary: Update inventory configuration
|
|
2453
|
-
* @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://
|
|
2466
|
+
* @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateInventoryConfig/).
|
|
2454
2467
|
*/
|
|
2455
2468
|
async updateInventoryConfig(
|
|
2456
2469
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2531,7 +2544,7 @@ class Configuration {
|
|
|
2531
2544
|
* @returns {Promise<ConfigurationPlatformModel.DeploymentMeta>} - Success response
|
|
2532
2545
|
* @name updateOrderingStoreConfig
|
|
2533
2546
|
* @summary: Update ordering store configuration
|
|
2534
|
-
* @description: Modify configuration settings for ordering stores. Edit the details of the deployment stores (the selling locations where the sales channel will be utilised for placing orders) - Check out [method documentation](https://
|
|
2547
|
+
* @description: Modify configuration settings for ordering stores. Edit the details of the deployment stores (the selling locations where the sales channel will be utilised for placing orders) - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/configuration/updateOrderingStoreConfig/).
|
|
2535
2548
|
*/
|
|
2536
2549
|
async updateOrderingStoreConfig(
|
|
2537
2550
|
{ body, requestHeaders } = { requestHeaders: {} },
|