@gofynd/fdk-client-javascript 1.1.2 → 1.1.3

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.
Files changed (117) hide show
  1. package/README.md +1 -2
  2. package/index.d.ts +4 -7
  3. package/index.js +5 -12
  4. package/package.json +1 -1
  5. package/sdk/application/ApplicationClient.d.ts +20 -20
  6. package/sdk/application/ApplicationClient.js +26 -26
  7. package/sdk/application/Cart/CartApplicationClient.d.ts +36 -6
  8. package/sdk/application/Cart/CartApplicationClient.js +105 -10
  9. package/sdk/application/Cart/CartApplicationModel.d.ts +9 -0
  10. package/sdk/application/Cart/CartApplicationModel.js +105 -1
  11. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -0
  12. package/sdk/application/Cart/CartApplicationValidator.js +15 -1
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1 -0
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +13 -0
  15. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +14 -10
  16. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -10
  17. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1 -0
  18. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
  19. package/sdk/application/Content/ContentApplicationModel.js +3 -1
  20. package/sdk/application/Logistic/LogisticApplicationModel.js +3 -2
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +2 -2
  22. package/sdk/application/Order/OrderApplicationClient.js +2 -2
  23. package/sdk/application/Order/OrderApplicationModel.js +18 -8
  24. package/sdk/application/Payment/PaymentApplicationClient.d.ts +35 -0
  25. package/sdk/application/Payment/PaymentApplicationClient.js +200 -0
  26. package/sdk/application/Payment/PaymentApplicationModel.d.ts +4 -0
  27. package/sdk/application/Payment/PaymentApplicationModel.js +58 -7
  28. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +3 -0
  29. package/sdk/application/Payment/PaymentApplicationValidator.js +19 -0
  30. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +16 -3
  31. package/sdk/application/PosCart/PosCartApplicationClient.js +39 -6
  32. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +6 -0
  33. package/sdk/application/PosCart/PosCartApplicationModel.js +63 -1
  34. package/sdk/application/PosCart/PosCartApplicationValidator.js +6 -0
  35. package/sdk/application/index.d.ts +10 -10
  36. package/sdk/application/index.js +13 -13
  37. package/sdk/common/Constant.d.ts +5 -0
  38. package/sdk/common/Constant.js +5 -0
  39. package/sdk/platform/Billing/BillingPlatformModel.js +6 -1
  40. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +459 -2
  41. package/sdk/platform/Cart/CartPlatformApplicationClient.js +2480 -340
  42. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +29 -0
  43. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +250 -0
  44. package/sdk/platform/Cart/CartPlatformModel.d.ts +52 -0
  45. package/sdk/platform/Cart/CartPlatformModel.js +580 -2
  46. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +8 -2
  47. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +10 -0
  48. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
  49. package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -2
  50. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1 -0
  51. package/sdk/platform/Catalog/CatalogPlatformModel.js +41 -29
  52. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1 -0
  53. package/sdk/platform/Communication/CommunicationPlatformModel.js +9 -0
  54. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -2
  55. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +2 -2
  56. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +5 -4
  57. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +99 -78
  58. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +99 -78
  59. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +87 -71
  60. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +87 -71
  61. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -0
  62. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +26 -0
  63. package/sdk/platform/Content/ContentPlatformModel.js +3 -1
  64. package/sdk/platform/Finance/FinancePlatformClient.d.ts +135 -0
  65. package/sdk/platform/Finance/FinancePlatformClient.js +853 -0
  66. package/sdk/platform/Finance/FinancePlatformModel.d.ts +51 -0
  67. package/sdk/platform/Finance/FinancePlatformModel.js +342 -0
  68. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +16 -0
  69. package/sdk/platform/Finance/FinancePlatformValidator.js +84 -0
  70. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +11 -1
  71. package/sdk/platform/Order/OrderPlatformApplicationClient.js +66 -2
  72. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -0
  73. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -0
  74. package/sdk/platform/Order/OrderPlatformClient.d.ts +159 -79
  75. package/sdk/platform/Order/OrderPlatformClient.js +541 -114
  76. package/sdk/platform/Order/OrderPlatformModel.d.ts +42 -6
  77. package/sdk/platform/Order/OrderPlatformModel.js +569 -159
  78. package/sdk/platform/Order/OrderPlatformValidator.d.ts +6 -0
  79. package/sdk/platform/Order/OrderPlatformValidator.js +51 -9
  80. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +22 -0
  81. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +127 -0
  82. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +2 -0
  83. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +13 -0
  84. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +145 -0
  85. package/sdk/platform/Partner/PartnerPlatformClient.js +799 -0
  86. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +39 -0
  87. package/sdk/platform/Partner/PartnerPlatformModel.js +367 -0
  88. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +14 -0
  89. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -0
  90. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +221 -0
  91. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1476 -190
  92. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +20 -0
  93. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +126 -0
  94. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +44 -0
  95. package/sdk/platform/Payment/PaymentPlatformModel.js +410 -0
  96. package/sdk/platform/PlatformApplicationClient.d.ts +1149 -938
  97. package/sdk/platform/PlatformApplicationClient.js +1259 -1035
  98. package/sdk/platform/PlatformClient.d.ts +9888 -8286
  99. package/sdk/platform/PlatformClient.js +10960 -9038
  100. package/sdk/platform/index.d.ts +15 -14
  101. package/sdk/platform/index.js +20 -18
  102. package/sdk/public/PublicClient.d.ts +2 -2
  103. package/sdk/public/PublicClient.js +4 -4
  104. package/sdk/public/index.d.ts +1 -1
  105. package/sdk/public/index.js +2 -2
  106. package/partner.d.ts +0 -4
  107. package/partner.js +0 -7
  108. package/sdk/partner/OAuthClient.d.ts +0 -14
  109. package/sdk/partner/OAuthClient.js +0 -112
  110. package/sdk/partner/PartnerAPIClient.d.ts +0 -12
  111. package/sdk/partner/PartnerAPIClient.js +0 -42
  112. package/sdk/partner/PartnerClient.d.ts +0 -6
  113. package/sdk/partner/PartnerClient.js +0 -17
  114. package/sdk/partner/PartnerConfig.d.ts +0 -30
  115. package/sdk/partner/PartnerConfig.js +0 -39
  116. package/sdk/partner/index.d.ts +0 -3
  117. package/sdk/partner/index.js +0 -5
@@ -7,8 +7,8 @@ declare class Configuration {
7
7
  * @param {Object} arg - Arg object.
8
8
  * @param {DomainAddRequest} arg.body
9
9
  * @returns {Promise<Domain>} - Success response
10
- * @summary: Add new domain to application
11
- * @description: Add new domain to application.
10
+ * @summary: Add new domain to current sales channel
11
+ * @description: Add a new domain to current sales channel, including pre-defined domain (free domain) or custom domain (owned by the brand)
12
12
  */
13
13
  addDomain({ body }?: {
14
14
  body: DomainAddRequest;
@@ -17,8 +17,8 @@ declare class Configuration {
17
17
  * @param {Object} arg - Arg object.
18
18
  * @param {UpdateDomainTypeRequest} arg.body
19
19
  * @returns {Promise<DomainsResponse>} - Success response
20
- * @summary: Change domain type
21
- * @description: Change a domain to Primary or Shortlink domain
20
+ * @summary: Change the type of domain in the current sales channel
21
+ * @description: Primary domain is used as the URL of your website. Short link domain is comparatively smaller and used while generating short links. Use this API to change a domain to either Primary or a Shortlink domain.
22
22
  */
23
23
  changeDomainType({ body }?: {
24
24
  body: UpdateDomainTypeRequest;
@@ -26,25 +26,27 @@ declare class Configuration {
26
26
  /**
27
27
  * @param {Object} arg - Arg object.
28
28
  * @returns {Promise<TokenResponse>} - Success response
29
- * @summary: Get social tokens
30
- * @description: Get social tokens.
29
+ * @summary: Get social tokens for the sales channel
30
+ * @description: Use this API to retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth. **Note** - Token values are encrypted with AES encryption using a secret key.
31
31
  */
32
32
  getAppApiTokens({}?: any): Promise<TokenResponse>;
33
33
  /**
34
34
  * @param {Object} arg - Arg object.
35
35
  * @returns {Promise<ApplicationDetail>} - Success response
36
- * @summary: Get basic application details
37
- * @description: Get basic application details like name
36
+ * @summary: Get sales channel details
37
+ * @description: Shows basic sales channel details like name, description, logo, domain, company ID, and other related information.
38
38
  */
39
39
  getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
40
40
  /**
41
41
  * @param {Object} arg - Arg object.
42
- * @param {number} [arg.uid] - Uid of companies to be fetched
43
- * @param {number} [arg.pageNo] - Current page no
44
- * @param {number} [arg.pageSize] - Current request items count
42
+ * @param {number} [arg.uid] - UID of companies to be fetched
43
+ * @param {number} [arg.pageNo] - The current page number to navigate
44
+ * through the given set of results. Default value is 1.
45
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
46
+ * page. Default value is 10.
45
47
  * @returns {Promise<CompaniesResponse>} - Success response
46
- * @summary: Application inventory enabled companies
47
- * @description: Application inventory enabled companies.
48
+ * @summary: Get companies enabled in the sales channel inventory
49
+ * @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application
48
50
  */
49
51
  getAppCompanies({ uid, pageNo, pageSize }?: {
50
52
  uid?: number;
@@ -53,12 +55,15 @@ declare class Configuration {
53
55
  }): Promise<CompaniesResponse>;
54
56
  /**
55
57
  * @param {Object} arg - Arg object.
56
- * @param {string} arg.companyId - Current company id
57
- * @param {string} arg.applicationId - Current application id
58
- * @param {number} [arg.uid] - Uid of companies to be fetched
59
- * @param {number} [arg.pageSize] - Current request items count
60
- * @summary: Application inventory enabled companies
61
- * @description: Application inventory enabled companies.
58
+ * @param {string} arg.companyId - Numeric ID allotted to a business account
59
+ * on Fynd Platform
60
+ * @param {string} arg.applicationId - Alphanumeric ID allotted to an
61
+ * application (sales channel website) created within a business account
62
+ * @param {number} [arg.uid] - UID of companies to be fetched
63
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
64
+ * page. Default value is 10.
65
+ * @summary: Get companies enabled in the sales channel inventory
66
+ * @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application
62
67
  */
63
68
  getAppCompaniesPaginator({ companyId, applicationId, uid, pageSize }?: {
64
69
  companyId: string;
@@ -69,31 +74,33 @@ declare class Configuration {
69
74
  /**
70
75
  * @param {Object} arg - Arg object.
71
76
  * @returns {Promise<ApplicationInformation>} - Success response
72
- * @summary: Get application information
73
- * @description: Get Application Current Information. This includes information about social links, address and contact information of company/seller/brand of the application.
77
+ * @summary: Get current information of the sales channel
78
+ * @description: Fetch data such as social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application.
74
79
  */
75
80
  getAppContactInfo({}?: any): Promise<ApplicationInformation>;
76
81
  /**
77
82
  * @param {Object} arg - Arg object.
78
83
  * @returns {Promise<AppSupportedCurrency>} - Success response
79
- * @summary: Get application enabled currency list
80
- * @description: Get application enabled currency list
84
+ * @summary: Get currencies supported in the application
85
+ * @description: Get a list of currencies supported in the current sales channel. Moreover, get the cuurency that is set as the default one in the application.
81
86
  */
82
87
  getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
83
88
  /**
84
89
  * @param {Object} arg - Arg object.
85
90
  * @returns {Promise<AppFeatureResponse>} - Success response
86
- * @summary: Get features of application
87
- * @description: Get features of application
91
+ * @summary: Get the sales channel configuration and features
92
+ * @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.
88
93
  */
89
94
  getAppFeatures({}?: any): Promise<AppFeatureResponse>;
90
95
  /**
91
96
  * @param {Object} arg - Arg object.
92
- * @param {number} [arg.pageNo] - Current page no
93
- * @param {number} [arg.pageSize] - Current request items count
97
+ * @param {number} [arg.pageNo] - The current page number to navigate
98
+ * through the given set of results. Default value is 1.
99
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
100
+ * page. Default value is 10.
94
101
  * @returns {Promise<StoresResponse>} - Success response
95
- * @summary: Application inventory enabled stores
96
- * @description: Application inventory enabled stores.
102
+ * @summary: Get stores enabled in the sales channel inventory
103
+ * @description: Fetch info 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 application
97
104
  */
98
105
  getAppStores({ pageNo, pageSize }?: {
99
106
  pageNo?: number;
@@ -101,11 +108,14 @@ declare class Configuration {
101
108
  }): Promise<StoresResponse>;
102
109
  /**
103
110
  * @param {Object} arg - Arg object.
104
- * @param {string} arg.companyId - Current company id
105
- * @param {string} arg.applicationId - Current application id
106
- * @param {number} [arg.pageSize] - Current request items count
107
- * @summary: Application inventory enabled stores
108
- * @description: Application inventory enabled stores.
111
+ * @param {string} arg.companyId - Numeric ID allotted to a business account
112
+ * on Fynd Platform
113
+ * @param {string} arg.applicationId - Alphanumeric ID allotted to an
114
+ * application (sales channel website) created within a business account
115
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
116
+ * page. Default value is 10.
117
+ * @summary: Get stores enabled in the sales channel inventory
118
+ * @description: Fetch info 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 application
109
119
  */
110
120
  getAppStoresPaginator({ companyId, applicationId, pageSize }?: {
111
121
  companyId: string;
@@ -122,16 +132,17 @@ declare class Configuration {
122
132
  /**
123
133
  * @param {Object} arg - Arg object.
124
134
  * @returns {Promise<Application>} - Success response
125
- * @summary: Get application data from id
126
- * @description: Get application data from id
135
+ * @summary: Get sales channel data by ID
136
+ * @description: Use application ID to get the current sales channel details which includes channel name, description, banner, logo, favicon, domain details, token, etc.
127
137
  */
128
138
  getApplicationById({}?: any): Promise<Application>;
129
139
  /**
130
140
  * @param {Object} arg - Arg object.
131
- * @param {string} arg.platformType - Current platform name
141
+ * @param {string} arg.platformType - The device platform for which the
142
+ * mobile app is built, e.g. android, ios.
132
143
  * @returns {Promise<MobileAppConfiguration>} - Success response
133
- * @summary: Get latest build config
134
- * @description: Get latest build config
144
+ * @summary: Get configuration of latest mobile build
145
+ * @description: Fetch latest build configuration, such as app name, landing page image, splash image used in a mobile build.
135
146
  */
136
147
  getBuildConfig({ platformType }?: {
137
148
  platformType: string;
@@ -140,8 +151,8 @@ declare class Configuration {
140
151
  * @param {Object} arg - Arg object.
141
152
  * @param {DomainStatusRequest} arg.body
142
153
  * @returns {Promise<DomainStatusResponse>} - Success response
143
- * @summary: Get domain connected status.
144
- * @description: Get domain connected status. Check if domain is live and mapped to appropriate IP to fynd servers.
154
+ * @summary: Get the status of connected domain
155
+ * @description: Shows if the A records and TXT records of the domain correctly points to appropriate IP on Fynd Servers.
145
156
  */
146
157
  getDomainStatus({ body }?: {
147
158
  body: DomainStatusRequest;
@@ -149,25 +160,27 @@ declare class Configuration {
149
160
  /**
150
161
  * @param {Object} arg - Arg object.
151
162
  * @returns {Promise<DomainsResponse>} - Success response
152
- * @summary: Get attached domain list
153
- * @description: Get attached domain list.
163
+ * @summary: Fetch all the domains added to an application (sales channel website), including pre-defined domain (free domain) or custom domain (owned by the brand). Know the verification status of each domain name, and find out which one is the primary domain, short link domain, or both.
164
+ * @description: Get list of domains
154
165
  */
155
166
  getDomains({}?: any): Promise<DomainsResponse>;
156
167
  /**
157
168
  * @param {Object} arg - Arg object.
158
169
  * @returns {Promise<ApplicationInventory>} - Success response
159
- * @summary: Get application configuration
160
- * @description: Get application configuration for various features and data
170
+ * @summary: Get sales channel configuration
171
+ * @description: Use this API to fetch configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
161
172
  */
162
173
  getInventoryConfig({}?: any): Promise<ApplicationInventory>;
163
174
  /**
164
175
  * @param {Object} arg - Arg object.
165
- * @param {number} [arg.pageNo] - Current page no
166
- * @param {number} [arg.pageSize] - Current request items count
176
+ * @param {number} [arg.pageNo] - The page number to navigate through the
177
+ * given set of results. Default value is 1.
178
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
179
+ * page. Default value is 10.
167
180
  * @param {FilterOrderingStoreRequest} arg.body
168
181
  * @returns {Promise<OrderingStores>} - Success response
169
182
  * @summary: Get ordering store by filter
170
- * @description: Get ordering store by filter
183
+ * @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders).
171
184
  */
172
185
  getOrderingStoresByFilter({ body, pageNo, pageSize }?: {
173
186
  pageNo?: number;
@@ -176,12 +189,15 @@ declare class Configuration {
176
189
  }): Promise<OrderingStores>;
177
190
  /**
178
191
  * @param {Object} arg - Arg object.
179
- * @param {string} arg.companyId - Current company id
180
- * @param {string} arg.applicationId - Current application id
181
- * @param {number} [arg.pageSize] - Current request items count
192
+ * @param {string} arg.companyId - Numeric ID allotted to a business account
193
+ * on Fynd Platform
194
+ * @param {string} arg.applicationId - Alphanumeric ID allotted to an
195
+ * application (sales channel website) created within a business account
196
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
197
+ * page. Default value is 10.
182
198
  * @param {FilterOrderingStoreRequest} arg.body
183
199
  * @summary: Get ordering store by filter
184
- * @description: Get ordering store by filter
200
+ * @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders).
185
201
  */
186
202
  getOrderingStoresByFilterPaginator({ companyId, applicationId, pageSize, body, }?: {
187
203
  companyId: string;
@@ -191,10 +207,11 @@ declare class Configuration {
191
207
  }): Paginator;
192
208
  /**
193
209
  * @param {Object} arg - Arg object.
194
- * @param {string} arg.platformType - Current platform name
210
+ * @param {string} arg.platformType - The device platform for which the
211
+ * mobile app is built, e.g. android, ios.
195
212
  * @returns {Promise<BuildVersionHistory>} - Success response
196
- * @summary: Get previous build versions
197
- * @description: Get previous build versions
213
+ * @summary: Get details of previous mobile builds
214
+ * @description: Fetch version details of the app, this includes the build status, build date, version name, latest version, and a lot more.
198
215
  */
199
216
  getPreviousVersions({ platformType }?: {
200
217
  platformType: string;
@@ -217,8 +234,10 @@ declare class Configuration {
217
234
  }): Promise<OrderingStoresResponse>;
218
235
  /**
219
236
  * @param {Object} arg - Arg object.
220
- * @param {string} arg.companyId - Current company id
221
- * @param {string} arg.applicationId - Current application id
237
+ * @param {string} arg.companyId - Numeric ID allotted to a business account
238
+ * on Fynd Platform
239
+ * @param {string} arg.applicationId - Alphanumeric ID allotted to an
240
+ * application (sales channel website) created within a business account
222
241
  * @param {number} [arg.pageSize] - The number of items to retrieve in each
223
242
  * page. Default value is 10.
224
243
  * @param {string} [arg.q] - Store code or name of the ordering store.
@@ -245,18 +264,19 @@ declare class Configuration {
245
264
  * @param {Object} arg - Arg object.
246
265
  * @param {AppInventoryPartialUpdate} arg.body
247
266
  * @returns {Promise<ApplicationInventory>} - Success response
248
- * @summary: Partially update application configuration
249
- * @description: Partially update application configuration for various features and data
267
+ * @summary: Partially update sales channel configuration
268
+ * @description: Partially update the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
250
269
  */
251
270
  partiallyUpdateInventoryConfig({ body }?: {
252
271
  body: AppInventoryPartialUpdate;
253
272
  }): Promise<ApplicationInventory>;
254
273
  /**
255
274
  * @param {Object} arg - Arg object.
256
- * @param {string} arg.id - Domain _id
275
+ * @param {string} arg.id - The unique identifier (24-digit Mongo Object ID)
276
+ * of the domain
257
277
  * @returns {Promise<SuccessMessageResponse>} - Success response
258
- * @summary: Remove attached domain
259
- * @description: Remove attached domain.
278
+ * @summary: Remove attached domain from current sales channel
279
+ * @description: 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.
260
280
  */
261
281
  removeDomainById({ id }?: {
262
282
  id: string;
@@ -265,8 +285,8 @@ declare class Configuration {
265
285
  * @param {Object} arg - Arg object.
266
286
  * @param {TokenResponse} arg.body
267
287
  * @returns {Promise<TokenResponse>} - Success response
268
- * @summary: Add social tokens
269
- * @description: Add social tokens.
288
+ * @summary: Add or update social tokens for the sales channel
289
+ * @description: Use this API to add or edit the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google and Facebook auth.
270
290
  */
271
291
  updateAppApiTokens({ body }?: {
272
292
  body: TokenResponse;
@@ -275,8 +295,8 @@ declare class Configuration {
275
295
  * @param {Object} arg - Arg object.
276
296
  * @param {ApplicationDetail} arg.body
277
297
  * @returns {Promise<ApplicationDetail>} - Success response
278
- * @summary: Add or update application's basic details
279
- * @description: Add or update application's basic details
298
+ * @summary: Update sales channel details
299
+ * @description: Modify sales channel details like name, description, logo, domain, company ID, and other related information.
280
300
  */
281
301
  updateAppBasicDetails({ body }?: {
282
302
  body: ApplicationDetail;
@@ -285,8 +305,8 @@ declare class Configuration {
285
305
  * @param {Object} arg - Arg object.
286
306
  * @param {ApplicationInformation} arg.body
287
307
  * @returns {Promise<ApplicationInformation>} - Success response
288
- * @summary: Get application information
289
- * @description: Save Application Current Information. This includes information about social links, address and contact information of an application.
308
+ * @summary: Save or update current information of the sales channel
309
+ * @description: Modify the social links, copyright text, business highlights, address and contact information of the company/seller/brand operating the application.
290
310
  */
291
311
  updateAppContactInfo({ body }?: {
292
312
  body: ApplicationInformation;
@@ -295,8 +315,8 @@ declare class Configuration {
295
315
  * @param {Object} arg - Arg object.
296
316
  * @param {AppSupportedCurrency} arg.body
297
317
  * @returns {Promise<AppSupportedCurrency>} - Success response
298
- * @summary: Add initial application supported currency
299
- * @description: Add initial application supported currency for various features and data. Default INR will be enabled.
318
+ * @summary: Update initial sales channel supported currency
319
+ * @description: Use this API to add and edit the currencies supported in the application. Initially, INR will be enabled by default.
300
320
  */
301
321
  updateAppCurrencyConfig({ body }?: {
302
322
  body: AppSupportedCurrency;
@@ -305,19 +325,20 @@ declare class Configuration {
305
325
  * @param {Object} arg - Arg object.
306
326
  * @param {AppFeatureRequest} arg.body
307
327
  * @returns {Promise<AppFeature>} - Success response
308
- * @summary: Update features of application
309
- * @description: Update features of application
328
+ * @summary: Update the sales channel configuration and features
329
+ * @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.
310
330
  */
311
331
  updateAppFeatures({ body }?: {
312
332
  body: AppFeatureRequest;
313
333
  }): Promise<AppFeature>;
314
334
  /**
315
335
  * @param {Object} arg - Arg object.
316
- * @param {string} arg.platformType - Current platform name
336
+ * @param {string} arg.platformType - The device platform for which the
337
+ * mobile app is built, e.g. android, ios.
317
338
  * @param {MobileAppConfigRequest} arg.body
318
339
  * @returns {Promise<MobileAppConfiguration>} - Success response
319
- * @summary: Update build config for next build
320
- * @description: Update build config for next build
340
+ * @summary: Update the configuration for next mobile build
341
+ * @description: Modify the existing build configuration, such as app name, landing page image, splash image used in a mobile build.
321
342
  */
322
343
  updateBuildConfig({ platformType, body }?: {
323
344
  platformType: string;
@@ -327,8 +348,8 @@ declare class Configuration {
327
348
  * @param {Object} arg - Arg object.
328
349
  * @param {ApplicationInventory} arg.body
329
350
  * @returns {Promise<ApplicationInventory>} - Success response
330
- * @summary: Update application configuration
331
- * @description: Update application configuration for various features and data
351
+ * @summary: Update sales channel configuration
352
+ * @description: Modify the configuration details of authentication, inventory, article assignment rules, reward points, cart, payment, order, logistics, etc.
332
353
  */
333
354
  updateInventoryConfig({ body }?: {
334
355
  body: ApplicationInventory;
@@ -338,7 +359,7 @@ declare class Configuration {
338
359
  * @param {OrderingStoreConfig} arg.body
339
360
  * @returns {Promise<DeploymentMeta>} - Success response
340
361
  * @summary: Add/Update ordering store config
341
- * @description: Add/Update ordering store config.
362
+ * @description: Use this API to edit the details of the deployment stores (the selling locations where the application will be utilised for placing orders)
342
363
  */
343
364
  updateOrderingStoreConfig({ body }?: {
344
365
  body: OrderingStoreConfig;