@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
- package/sdk/application/Cart/CartApplicationModel.js +6 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -40,6 +40,7 @@ export = ConfigurationPlatformApplicationValidator;
|
|
|
40
40
|
*/
|
|
41
41
|
/** @typedef GetDomainsParam */
|
|
42
42
|
/** @typedef GetInventoryConfigParam */
|
|
43
|
+
/** @typedef GetOrderingStoreConfigParam */
|
|
43
44
|
/**
|
|
44
45
|
* @typedef GetOrderingStoresByFilterParam
|
|
45
46
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
@@ -138,6 +139,8 @@ declare class ConfigurationPlatformApplicationValidator {
|
|
|
138
139
|
static getDomains(): any;
|
|
139
140
|
/** @returns {GetInventoryConfigParam} */
|
|
140
141
|
static getInventoryConfig(): any;
|
|
142
|
+
/** @returns {GetOrderingStoreConfigParam} */
|
|
143
|
+
static getOrderingStoreConfig(): any;
|
|
141
144
|
/** @returns {GetOrderingStoresByFilterParam} */
|
|
142
145
|
static getOrderingStoresByFilter(): GetOrderingStoresByFilterParam;
|
|
143
146
|
/** @returns {GetPreviousVersionsParam} */
|
|
@@ -168,7 +171,7 @@ declare class ConfigurationPlatformApplicationValidator {
|
|
|
168
171
|
static updateOrderingStoreConfig(): UpdateOrderingStoreConfigParam;
|
|
169
172
|
}
|
|
170
173
|
declare namespace ConfigurationPlatformApplicationValidator {
|
|
171
|
-
export { AddDomainParam, ChangeDomainTypeParam, GetAppApiTokensParam, GetAppBasicDetailsParam, GetAppCompaniesParam, GetAppContactInfoParam, GetAppCurrencyConfigParam, GetAppFeaturesParam, GetAppStoresParam, GetAppSupportedCurrencyParam, GetApplicationByIdParam, GetBuildConfigParam, GetDomainStatusParam, GetDomainsParam, GetInventoryConfigParam, GetOrderingStoresByFilterParam, GetPreviousVersionsParam, GetStaffOrderingStoresParam, ModifyAppFeaturesParam, PartiallyUpdateInventoryConfigParam, RemoveDomainByIdParam, UpdateAppApiTokensParam, UpdateAppBasicDetailsParam, UpdateAppContactInfoParam, UpdateAppCurrencyConfigParam, UpdateAppFeaturesParam, UpdateBuildConfigParam, UpdateInventoryConfigParam, UpdateOrderingStoreConfigParam };
|
|
174
|
+
export { AddDomainParam, ChangeDomainTypeParam, GetAppApiTokensParam, GetAppBasicDetailsParam, GetAppCompaniesParam, GetAppContactInfoParam, GetAppCurrencyConfigParam, GetAppFeaturesParam, GetAppStoresParam, GetAppSupportedCurrencyParam, GetApplicationByIdParam, GetBuildConfigParam, GetDomainStatusParam, GetDomainsParam, GetInventoryConfigParam, GetOrderingStoreConfigParam, GetOrderingStoresByFilterParam, GetPreviousVersionsParam, GetStaffOrderingStoresParam, ModifyAppFeaturesParam, PartiallyUpdateInventoryConfigParam, RemoveDomainByIdParam, UpdateAppApiTokensParam, UpdateAppBasicDetailsParam, UpdateAppContactInfoParam, UpdateAppCurrencyConfigParam, UpdateAppFeaturesParam, UpdateBuildConfigParam, UpdateInventoryConfigParam, UpdateOrderingStoreConfigParam };
|
|
172
175
|
}
|
|
173
176
|
type AddDomainParam = {
|
|
174
177
|
body: ConfigurationPlatformModel.DomainAddRequest;
|
|
@@ -300,4 +303,5 @@ type GetAppSupportedCurrencyParam = any;
|
|
|
300
303
|
type GetApplicationByIdParam = any;
|
|
301
304
|
type GetDomainsParam = any;
|
|
302
305
|
type GetInventoryConfigParam = any;
|
|
306
|
+
type GetOrderingStoreConfigParam = any;
|
|
303
307
|
import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
|
|
@@ -58,6 +58,8 @@ const ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
|
|
|
58
58
|
|
|
59
59
|
/** @typedef GetInventoryConfigParam */
|
|
60
60
|
|
|
61
|
+
/** @typedef GetOrderingStoreConfigParam */
|
|
62
|
+
|
|
61
63
|
/**
|
|
62
64
|
* @typedef GetOrderingStoresByFilterParam
|
|
63
65
|
* @property {number} [pageNo] - The page number to navigate through the given
|
|
@@ -230,6 +232,11 @@ class ConfigurationPlatformApplicationValidator {
|
|
|
230
232
|
return Joi.object({}).required();
|
|
231
233
|
}
|
|
232
234
|
|
|
235
|
+
/** @returns {GetOrderingStoreConfigParam} */
|
|
236
|
+
static getOrderingStoreConfig() {
|
|
237
|
+
return Joi.object({}).required();
|
|
238
|
+
}
|
|
239
|
+
|
|
233
240
|
/** @returns {GetOrderingStoresByFilterParam} */
|
|
234
241
|
static getOrderingStoresByFilter() {
|
|
235
242
|
return Joi.object({
|
|
@@ -4,15 +4,17 @@ declare class Configuration {
|
|
|
4
4
|
config: any;
|
|
5
5
|
/**
|
|
6
6
|
* @param {ConfigurationPlatformValidator.CreateApplicationParam} arg - Arg object
|
|
7
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
7
8
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
8
9
|
* @returns {Promise<ConfigurationPlatformModel.CreateAppResponse>} - Success response
|
|
9
10
|
* @name createApplication
|
|
10
11
|
* @summary: Create a new sales channel
|
|
11
12
|
* @description: Applications are sales channel websites which can be configured, personalized and customized. Use this API to create a new application in the current company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/createApplication/).
|
|
12
13
|
*/
|
|
13
|
-
createApplication({ body }?: ConfigurationPlatformValidator.CreateApplicationParam, {
|
|
14
|
+
createApplication({ body, requestHeaders }?: ConfigurationPlatformValidator.CreateApplicationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CreateAppResponse>;
|
|
14
15
|
/**
|
|
15
16
|
* @param {ConfigurationPlatformValidator.GetApplicationsParam} arg - Arg object
|
|
17
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
16
18
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
17
19
|
* @returns {Promise<ConfigurationPlatformModel.ApplicationsResponse>} -
|
|
18
20
|
* Success response
|
|
@@ -20,7 +22,7 @@ declare class Configuration {
|
|
|
20
22
|
* @summary: Get list of registered sales channels under company
|
|
21
23
|
* @description: Applications are sales channel websites which can be configured, personalized and customised. Use this API to fetch a list of applications created within a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getApplications/).
|
|
22
24
|
*/
|
|
23
|
-
getApplications({ pageNo, pageSize, q }?: ConfigurationPlatformValidator.GetApplicationsParam, {
|
|
25
|
+
getApplications({ pageNo, pageSize, q, requestHeaders }?: ConfigurationPlatformValidator.GetApplicationsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.ApplicationsResponse>;
|
|
24
26
|
/**
|
|
25
27
|
* @param {Object} arg - Arg object.
|
|
26
28
|
* @param {number} [arg.pageSize] -
|
|
@@ -35,6 +37,7 @@ declare class Configuration {
|
|
|
35
37
|
}): Paginator<ConfigurationPlatformModel.ApplicationsResponse>;
|
|
36
38
|
/**
|
|
37
39
|
* @param {ConfigurationPlatformValidator.GetAvailableOptInsParam} arg - Arg object
|
|
40
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
38
41
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
39
42
|
* @returns {Promise<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>}
|
|
40
43
|
* - Success response
|
|
@@ -43,7 +46,7 @@ declare class Configuration {
|
|
|
43
46
|
* @summary: Get all available integration opt-ins
|
|
44
47
|
* @description: Use this API to get a list of all available integrations in a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAvailableOptIns/).
|
|
45
48
|
*/
|
|
46
|
-
getAvailableOptIns({ pageNo, pageSize }?: ConfigurationPlatformValidator.GetAvailableOptInsParam, {
|
|
49
|
+
getAvailableOptIns({ pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetAvailableOptInsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
47
50
|
/**
|
|
48
51
|
* @param {Object} arg - Arg object.
|
|
49
52
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
@@ -57,6 +60,7 @@ declare class Configuration {
|
|
|
57
60
|
}): Paginator<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
58
61
|
/**
|
|
59
62
|
* @param {ConfigurationPlatformValidator.GetBrandsByCompanyParam} arg - Arg object
|
|
63
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
60
64
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
61
65
|
* @returns {Promise<ConfigurationPlatformModel.BrandsByCompanyResponse>} -
|
|
62
66
|
* Success response
|
|
@@ -64,9 +68,10 @@ declare class Configuration {
|
|
|
64
68
|
* @summary: Get brands by company.
|
|
65
69
|
* @description: Use this API to get all the brands added in a company. Get all the brand names, along with URLs of their logo, banner, and portrait image. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getBrandsByCompany/).
|
|
66
70
|
*/
|
|
67
|
-
getBrandsByCompany({ q }?: ConfigurationPlatformValidator.GetBrandsByCompanyParam, {
|
|
71
|
+
getBrandsByCompany({ q, requestHeaders }?: ConfigurationPlatformValidator.GetBrandsByCompanyParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.BrandsByCompanyResponse>;
|
|
68
72
|
/**
|
|
69
73
|
* @param {ConfigurationPlatformValidator.GetCompanyByBrandsParam} arg - Arg object
|
|
74
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
70
75
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
71
76
|
* @returns {Promise<ConfigurationPlatformModel.CompanyByBrandsResponse>} -
|
|
72
77
|
* Success response
|
|
@@ -74,7 +79,7 @@ declare class Configuration {
|
|
|
74
79
|
* @summary: Get company by brand uids
|
|
75
80
|
* @description: Use this API to get a list of companies by the brands they deal - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getCompanyByBrands/).
|
|
76
81
|
*/
|
|
77
|
-
getCompanyByBrands({ body, pageNo, pageSize }?: ConfigurationPlatformValidator.GetCompanyByBrandsParam, {
|
|
82
|
+
getCompanyByBrands({ body, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetCompanyByBrandsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CompanyByBrandsResponse>;
|
|
78
83
|
/**
|
|
79
84
|
* @param {Object} arg - Arg object.
|
|
80
85
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
@@ -90,6 +95,7 @@ declare class Configuration {
|
|
|
90
95
|
}): Paginator<ConfigurationPlatformModel.CompanyByBrandsResponse>;
|
|
91
96
|
/**
|
|
92
97
|
* @param {ConfigurationPlatformValidator.GetCurrenciesParam} arg - Arg object
|
|
98
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
93
99
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
94
100
|
* @returns {Promise<ConfigurationPlatformModel.CurrenciesResponse>} -
|
|
95
101
|
* Success response
|
|
@@ -97,9 +103,10 @@ declare class Configuration {
|
|
|
97
103
|
* @summary: Get all currencies
|
|
98
104
|
* @description: Use this API to get a list of currencies allowed in the company. Moreover, get the name, code, symbol, and the decimal digits of the currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getCurrencies/).
|
|
99
105
|
*/
|
|
100
|
-
getCurrencies({
|
|
106
|
+
getCurrencies({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CurrenciesResponse>;
|
|
101
107
|
/**
|
|
102
108
|
* @param {ConfigurationPlatformValidator.GetDomainAvailibilityParam} arg - Arg object
|
|
109
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
103
110
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
104
111
|
* @returns {Promise<ConfigurationPlatformModel.DomainSuggestionsResponse>}
|
|
105
112
|
* - Success response
|
|
@@ -108,31 +115,34 @@ declare class Configuration {
|
|
|
108
115
|
* @summary: Check domain availability before linking to application
|
|
109
116
|
* @description: Use this API to check the domain availability before linking it to application. Also sends domain suggestions that are similar to the queried domain. Note - Custom domain search is currently powered by GoDaddy provider. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getDomainAvailibility/).
|
|
110
117
|
*/
|
|
111
|
-
getDomainAvailibility({ body }?: ConfigurationPlatformValidator.GetDomainAvailibilityParam, {
|
|
118
|
+
getDomainAvailibility({ body, requestHeaders }?: ConfigurationPlatformValidator.GetDomainAvailibilityParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.DomainSuggestionsResponse>;
|
|
112
119
|
/**
|
|
113
120
|
* @param {ConfigurationPlatformValidator.GetIntegrationByIdParam} arg - Arg object
|
|
121
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
114
122
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
115
123
|
* @returns {Promise<ConfigurationPlatformModel.Integration>} - Success response
|
|
116
124
|
* @name getIntegrationById
|
|
117
125
|
* @summary: Get integration data by its ID
|
|
118
126
|
* @description: Use this API to fetch the details of an integration (such as Ginesys, SAP, etc.) using its ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getIntegrationById/).
|
|
119
127
|
*/
|
|
120
|
-
getIntegrationById({ id }?: ConfigurationPlatformValidator.GetIntegrationByIdParam, {
|
|
128
|
+
getIntegrationById({ id, requestHeaders }?: ConfigurationPlatformValidator.GetIntegrationByIdParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.Integration>;
|
|
121
129
|
/**
|
|
122
130
|
* @param {ConfigurationPlatformValidator.GetIntegrationByLevelIdParam} arg
|
|
123
131
|
* - Arg object
|
|
124
132
|
*
|
|
133
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
125
134
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
126
135
|
* @returns {Promise<ConfigurationPlatformModel.IntegrationLevel>} - Success response
|
|
127
136
|
* @name getIntegrationByLevelId
|
|
128
137
|
* @summary: Get integration config at a particular level (store/company)
|
|
129
138
|
* @description: Use this API to get the configuration details of an integration such as token, permissions, level, opted value, uid, meta, location ID, etc. at a particular level (store/company). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getIntegrationByLevelId/).
|
|
130
139
|
*/
|
|
131
|
-
getIntegrationByLevelId({ id, level, uid }?: ConfigurationPlatformValidator.GetIntegrationByLevelIdParam, {
|
|
140
|
+
getIntegrationByLevelId({ id, level, uid, requestHeaders }?: ConfigurationPlatformValidator.GetIntegrationByLevelIdParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationLevel>;
|
|
132
141
|
/**
|
|
133
142
|
* @param {ConfigurationPlatformValidator.GetIntegrationLevelConfigParam} arg
|
|
134
143
|
* - Arg object
|
|
135
144
|
*
|
|
145
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
136
146
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
137
147
|
* @returns {Promise<ConfigurationPlatformModel.IntegrationConfigResponse>}
|
|
138
148
|
* - Success response
|
|
@@ -141,11 +151,12 @@ declare class Configuration {
|
|
|
141
151
|
* @summary: Get integration level config
|
|
142
152
|
* @description: Use this API to get the configuration details of an integration such as token, permissions, level, opted value, uid, meta, location ID, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getIntegrationLevelConfig/).
|
|
143
153
|
*/
|
|
144
|
-
getIntegrationLevelConfig({ id, level, opted, checkPermission }?: ConfigurationPlatformValidator.GetIntegrationLevelConfigParam, {
|
|
154
|
+
getIntegrationLevelConfig({ id, level, opted, checkPermission, requestHeaders }?: ConfigurationPlatformValidator.GetIntegrationLevelConfigParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationConfigResponse>;
|
|
145
155
|
/**
|
|
146
156
|
* @param {ConfigurationPlatformValidator.GetLevelActiveIntegrationsParam} arg
|
|
147
157
|
* - Arg object
|
|
148
158
|
*
|
|
159
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
149
160
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
150
161
|
* @returns {Promise<ConfigurationPlatformModel.OptedStoreIntegration>} -
|
|
151
162
|
* Success response
|
|
@@ -153,11 +164,12 @@ declare class Configuration {
|
|
|
153
164
|
* @summary: Check active integration at store
|
|
154
165
|
* @description: Use this API to check if a store is already opted-in for any integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getLevelActiveIntegrations/).
|
|
155
166
|
*/
|
|
156
|
-
getLevelActiveIntegrations({ id, level, uid }?: ConfigurationPlatformValidator.GetLevelActiveIntegrationsParam, {
|
|
167
|
+
getLevelActiveIntegrations({ id, level, uid, requestHeaders }?: ConfigurationPlatformValidator.GetLevelActiveIntegrationsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OptedStoreIntegration>;
|
|
157
168
|
/**
|
|
158
169
|
* @param {ConfigurationPlatformValidator.GetOtherSellerApplicationByIdParam} arg
|
|
159
170
|
* - Arg object
|
|
160
171
|
*
|
|
172
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
161
173
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
162
174
|
* @returns {Promise<ConfigurationPlatformModel.OptedApplicationResponse>}
|
|
163
175
|
* - Success response
|
|
@@ -166,11 +178,12 @@ declare class Configuration {
|
|
|
166
178
|
* @summary: Get other seller's sales channel by ID
|
|
167
179
|
* @description: Use application ID to fetch details of a seller application that was not created within the current company. but has opted for the current company's inventory - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getOtherSellerApplicationById/).
|
|
168
180
|
*/
|
|
169
|
-
getOtherSellerApplicationById({ id }?: ConfigurationPlatformValidator.GetOtherSellerApplicationByIdParam, {
|
|
181
|
+
getOtherSellerApplicationById({ id, requestHeaders }?: ConfigurationPlatformValidator.GetOtherSellerApplicationByIdParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OptedApplicationResponse>;
|
|
170
182
|
/**
|
|
171
183
|
* @param {ConfigurationPlatformValidator.GetOtherSellerApplicationsParam} arg
|
|
172
184
|
* - Arg object
|
|
173
185
|
*
|
|
186
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
174
187
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
175
188
|
* @returns {Promise<ConfigurationPlatformModel.OtherSellerApplications>} -
|
|
176
189
|
* Success response
|
|
@@ -178,7 +191,7 @@ declare class Configuration {
|
|
|
178
191
|
* @summary: Get other seller sales channels
|
|
179
192
|
* @description: Use this API to fetch all other seller applications that were not created within the current company. but have opted for the current company's inventory - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getOtherSellerApplications/).
|
|
180
193
|
*/
|
|
181
|
-
getOtherSellerApplications({ pageNo, pageSize }?: ConfigurationPlatformValidator.GetOtherSellerApplicationsParam, {
|
|
194
|
+
getOtherSellerApplications({ pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetOtherSellerApplicationsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OtherSellerApplications>;
|
|
182
195
|
/**
|
|
183
196
|
* @param {Object} arg - Arg object.
|
|
184
197
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
@@ -192,6 +205,7 @@ declare class Configuration {
|
|
|
192
205
|
}): Paginator<ConfigurationPlatformModel.OtherSellerApplications>;
|
|
193
206
|
/**
|
|
194
207
|
* @param {ConfigurationPlatformValidator.GetSelectedOptInsParam} arg - Arg object
|
|
208
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
195
209
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
196
210
|
* @returns {Promise<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>}
|
|
197
211
|
* - Success response
|
|
@@ -200,7 +214,7 @@ declare class Configuration {
|
|
|
200
214
|
* @summary: Get company/store level integration opt-ins
|
|
201
215
|
* @description: Use this API to get the store-level/company-level integrations configured in a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getSelectedOptIns/).
|
|
202
216
|
*/
|
|
203
|
-
getSelectedOptIns({ level, uid, pageNo, pageSize }?: ConfigurationPlatformValidator.GetSelectedOptInsParam, {
|
|
217
|
+
getSelectedOptIns({ level, uid, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetSelectedOptInsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
204
218
|
/**
|
|
205
219
|
* @param {Object} arg - Arg object.
|
|
206
220
|
* @param {string} arg.level - Store or company
|
|
@@ -218,6 +232,7 @@ declare class Configuration {
|
|
|
218
232
|
}): Paginator<ConfigurationPlatformModel.GetIntegrationsOptInsResponse>;
|
|
219
233
|
/**
|
|
220
234
|
* @param {ConfigurationPlatformValidator.GetStoreByBrandsParam} arg - Arg object
|
|
235
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
221
236
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
222
237
|
* @returns {Promise<ConfigurationPlatformModel.StoreByBrandsResponse>} -
|
|
223
238
|
* Success response
|
|
@@ -225,7 +240,7 @@ declare class Configuration {
|
|
|
225
240
|
* @summary: Get stores by brand uids for the current company
|
|
226
241
|
* @description: Use this API to get a list of selling locations (stores) by the brands they deal. Store has information about store name, store type, store code, store address, and company detail. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getStoreByBrands/).
|
|
227
242
|
*/
|
|
228
|
-
getStoreByBrands({ body, pageNo, pageSize }?: ConfigurationPlatformValidator.GetStoreByBrandsParam, {
|
|
243
|
+
getStoreByBrands({ body, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformValidator.GetStoreByBrandsParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.StoreByBrandsResponse>;
|
|
229
244
|
/**
|
|
230
245
|
* @param {Object} arg - Arg object.
|
|
231
246
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
@@ -241,6 +256,7 @@ declare class Configuration {
|
|
|
241
256
|
}): Paginator<ConfigurationPlatformModel.StoreByBrandsResponse>;
|
|
242
257
|
/**
|
|
243
258
|
* @param {ConfigurationPlatformValidator.OptOutFromApplicationParam} arg - Arg object
|
|
259
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
244
260
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
245
261
|
* @returns {Promise<ConfigurationPlatformModel.SuccessMessageResponse>} -
|
|
246
262
|
* Success response
|
|
@@ -248,29 +264,31 @@ declare class Configuration {
|
|
|
248
264
|
* @summary: Opt-out company or store from other seller application
|
|
249
265
|
* @description: Use this API to opt-out your company or store from other seller application. The specific seller application will no longer fetch inventory from your company or store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/optOutFromApplication/).
|
|
250
266
|
*/
|
|
251
|
-
optOutFromApplication({ id, body }?: ConfigurationPlatformValidator.OptOutFromApplicationParam, {
|
|
267
|
+
optOutFromApplication({ id, body, requestHeaders }?: ConfigurationPlatformValidator.OptOutFromApplicationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.SuccessMessageResponse>;
|
|
252
268
|
/**
|
|
253
269
|
* @param {ConfigurationPlatformValidator.UpdateLevelIntegrationParam} arg
|
|
254
270
|
* - Arg object
|
|
255
271
|
*
|
|
272
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
256
273
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
257
274
|
* @returns {Promise<ConfigurationPlatformModel.IntegrationLevel>} - Success response
|
|
258
275
|
* @name updateLevelIntegration
|
|
259
276
|
* @summary: Update a store level integration you opted
|
|
260
277
|
* @description: Use this API to update the configuration details of an integration such as token, permissions, level, opted value, uid, meta, location ID, etc. at a particular level (store/company). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateLevelIntegration/).
|
|
261
278
|
*/
|
|
262
|
-
updateLevelIntegration({ id, level, body }?: ConfigurationPlatformValidator.UpdateLevelIntegrationParam, {
|
|
279
|
+
updateLevelIntegration({ id, level, body, requestHeaders }?: ConfigurationPlatformValidator.UpdateLevelIntegrationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationLevel>;
|
|
263
280
|
/**
|
|
264
281
|
* @param {ConfigurationPlatformValidator.UpdateLevelUidIntegrationParam} arg
|
|
265
282
|
* - Arg object
|
|
266
283
|
*
|
|
284
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
267
285
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
268
286
|
* @returns {Promise<ConfigurationPlatformModel.IntegrationLevel>} - Success response
|
|
269
287
|
* @name updateLevelUidIntegration
|
|
270
288
|
* @summary: Update integration level by store UID
|
|
271
289
|
* @description: Update the level of integration by store UID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/updateLevelUidIntegration/).
|
|
272
290
|
*/
|
|
273
|
-
updateLevelUidIntegration({ id, level, uid, body }?: ConfigurationPlatformValidator.UpdateLevelUidIntegrationParam, {
|
|
291
|
+
updateLevelUidIntegration({ id, level, uid, body, requestHeaders }?: ConfigurationPlatformValidator.UpdateLevelUidIntegrationParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.IntegrationLevel>;
|
|
274
292
|
}
|
|
275
293
|
import ConfigurationPlatformValidator = require("./ConfigurationPlatformValidator");
|
|
276
294
|
import ConfigurationPlatformModel = require("./ConfigurationPlatformModel");
|