@gofynd/fdk-client-javascript 1.1.2 → 1.1.4

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 (120) hide show
  1. package/README.md +2 -2
  2. package/index.d.ts +7 -7
  3. package/index.js +12 -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/Common/CommonApplicationModel.js +4 -0
  16. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +14 -10
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -10
  18. package/sdk/application/Configuration/ConfigurationApplicationModel.js +6 -5
  19. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
  20. package/sdk/application/Content/ContentApplicationModel.js +3 -1
  21. package/sdk/application/Lead/LeadApplicationModel.js +4 -1
  22. package/sdk/application/Logistic/LogisticApplicationModel.js +3 -2
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +2 -2
  24. package/sdk/application/Order/OrderApplicationClient.js +2 -2
  25. package/sdk/application/Order/OrderApplicationModel.js +18 -8
  26. package/sdk/application/Payment/PaymentApplicationClient.d.ts +35 -0
  27. package/sdk/application/Payment/PaymentApplicationClient.js +200 -0
  28. package/sdk/application/Payment/PaymentApplicationModel.d.ts +4 -0
  29. package/sdk/application/Payment/PaymentApplicationModel.js +58 -7
  30. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +3 -0
  31. package/sdk/application/Payment/PaymentApplicationValidator.js +19 -0
  32. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +16 -3
  33. package/sdk/application/PosCart/PosCartApplicationClient.js +39 -6
  34. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +6 -0
  35. package/sdk/application/PosCart/PosCartApplicationModel.js +63 -1
  36. package/sdk/application/PosCart/PosCartApplicationValidator.js +6 -0
  37. package/sdk/application/index.d.ts +10 -10
  38. package/sdk/application/index.js +13 -13
  39. package/sdk/common/Constant.d.ts +5 -0
  40. package/sdk/common/Constant.js +5 -0
  41. package/sdk/partner/OAuthClient.js +1 -1
  42. package/sdk/platform/Billing/BillingPlatformModel.js +6 -1
  43. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +491 -2
  44. package/sdk/platform/Cart/CartPlatformApplicationClient.js +2661 -337
  45. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +32 -0
  46. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +269 -0
  47. package/sdk/platform/Cart/CartPlatformModel.d.ts +58 -0
  48. package/sdk/platform/Cart/CartPlatformModel.js +652 -3
  49. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +8 -2
  50. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +10 -0
  51. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
  52. package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -2
  53. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1 -0
  54. package/sdk/platform/Catalog/CatalogPlatformModel.js +43 -31
  55. package/sdk/platform/Common/CommonPlatformModel.js +4 -0
  56. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1 -0
  57. package/sdk/platform/Communication/CommunicationPlatformModel.js +9 -0
  58. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -2
  59. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +2 -2
  60. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +5 -4
  61. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +99 -78
  62. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +99 -78
  63. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +87 -71
  64. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +87 -71
  65. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -0
  66. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +34 -7
  67. package/sdk/platform/Content/ContentPlatformModel.js +3 -1
  68. package/sdk/platform/Finance/FinancePlatformClient.d.ts +135 -0
  69. package/sdk/platform/Finance/FinancePlatformClient.js +853 -0
  70. package/sdk/platform/Finance/FinancePlatformModel.d.ts +51 -0
  71. package/sdk/platform/Finance/FinancePlatformModel.js +342 -0
  72. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +16 -0
  73. package/sdk/platform/Finance/FinancePlatformValidator.js +84 -0
  74. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +11 -1
  75. package/sdk/platform/Order/OrderPlatformApplicationClient.js +66 -2
  76. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -0
  77. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -0
  78. package/sdk/platform/Order/OrderPlatformClient.d.ts +161 -79
  79. package/sdk/platform/Order/OrderPlatformClient.js +546 -114
  80. package/sdk/platform/Order/OrderPlatformModel.d.ts +42 -6
  81. package/sdk/platform/Order/OrderPlatformModel.js +569 -159
  82. package/sdk/platform/Order/OrderPlatformValidator.d.ts +6 -0
  83. package/sdk/platform/Order/OrderPlatformValidator.js +52 -9
  84. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +22 -0
  85. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +127 -0
  86. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +2 -0
  87. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +13 -0
  88. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +145 -0
  89. package/sdk/platform/Partner/PartnerPlatformClient.js +799 -0
  90. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +39 -0
  91. package/sdk/platform/Partner/PartnerPlatformModel.js +367 -0
  92. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +14 -0
  93. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -0
  94. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +221 -0
  95. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +1476 -190
  96. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +20 -0
  97. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +126 -0
  98. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +48 -0
  99. package/sdk/platform/Payment/PaymentPlatformModel.js +452 -7
  100. package/sdk/platform/PlatformApplicationClient.d.ts +1249 -937
  101. package/sdk/platform/PlatformApplicationClient.js +1366 -1033
  102. package/sdk/platform/PlatformClient.d.ts +10979 -8771
  103. package/sdk/platform/PlatformClient.js +11874 -9197
  104. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +134 -0
  105. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +852 -0
  106. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +16 -0
  107. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +81 -0
  108. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +223 -0
  109. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1296 -0
  110. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +97 -0
  111. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +778 -0
  112. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +21 -0
  113. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +130 -0
  114. package/sdk/platform/index.d.ts +16 -14
  115. package/sdk/platform/index.js +22 -18
  116. package/sdk/public/Configuration/ConfigurationPublicModel.js +5 -0
  117. package/sdk/public/PublicClient.d.ts +2 -2
  118. package/sdk/public/PublicClient.js +4 -4
  119. package/sdk/public/index.d.ts +1 -1
  120. package/sdk/public/index.js +2 -2
@@ -6,8 +6,8 @@ declare class Configuration {
6
6
  * @param {Object} arg - Arg object.
7
7
  * @param {CreateApplicationRequest} arg.body
8
8
  * @returns {Promise<CreateAppResponse>} - Success response
9
- * @summary: Create application
10
- * @description: Create new application
9
+ * @summary: Create a new sales channel
10
+ * @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.
11
11
  */
12
12
  createApplication({ body }?: {
13
13
  body: CreateApplicationRequest;
@@ -16,10 +16,10 @@ declare class Configuration {
16
16
  * @param {Object} arg - Arg object.
17
17
  * @param {number} [arg.pageNo] -
18
18
  * @param {number} [arg.pageSize] -
19
- * @param {string} [arg.q] - Url encoded object used as mongodb query
19
+ * @param {string} [arg.q] - Search param by name or domain
20
20
  * @returns {Promise<ApplicationsResponse>} - Success response
21
- * @summary: Get list of application under company
22
- * @description: Get list of application under company
21
+ * @summary: Get list of registered sales channels under company
22
+ * @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.
23
23
  */
24
24
  getApplications({ pageNo, pageSize, q }?: {
25
25
  pageNo?: number;
@@ -29,9 +29,9 @@ declare class Configuration {
29
29
  /**
30
30
  * @param {Object} arg - Arg object.
31
31
  * @param {number} [arg.pageSize] -
32
- * @param {string} [arg.q] - Url encoded object used as mongodb query
33
- * @summary: Get list of application under company
34
- * @description: Get list of application under company
32
+ * @param {string} [arg.q] - Search param by name or domain
33
+ * @summary: Get list of registered sales channels under company
34
+ * @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.
35
35
  */
36
36
  getApplicationsPaginator({ pageSize, q }?: {
37
37
  pageSize?: number;
@@ -39,11 +39,13 @@ declare class Configuration {
39
39
  }): Paginator;
40
40
  /**
41
41
  * @param {Object} arg - Arg object.
42
- * @param {number} [arg.pageNo] - Current page no
43
- * @param {number} [arg.pageSize] - Current request items count
42
+ * @param {number} [arg.pageNo] - The page number to navigate through the
43
+ * given set of results. Default value is 1.
44
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
45
+ * page. Default value is 10.
44
46
  * @returns {Promise<GetIntegrationsOptInsResponse>} - Success response
45
47
  * @summary: Get all available integration opt-ins
46
- * @description: Get all available integration opt-ins
48
+ * @description: Use this API to get a list of all available integrations in a company
47
49
  */
48
50
  getAvailableOptIns({ pageNo, pageSize }?: {
49
51
  pageNo?: number;
@@ -53,20 +55,22 @@ declare class Configuration {
53
55
  * @param {Object} arg - Arg object.
54
56
  * @param {string} [arg.q] - Search text for brand name
55
57
  * @returns {Promise<BrandsByCompanyResponse>} - Success response
56
- * @summary: Get brands by company
57
- * @description: Get brands by company
58
+ * @summary: Get brands by company.
59
+ * @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.
58
60
  */
59
61
  getBrandsByCompany({ q }?: {
60
62
  q?: string;
61
63
  }): Promise<BrandsByCompanyResponse>;
62
64
  /**
63
65
  * @param {Object} arg - Arg object.
64
- * @param {number} [arg.pageNo] - Current page no
65
- * @param {number} [arg.pageSize] - Current request items count
66
+ * @param {number} [arg.pageNo] - The page number to navigate through the
67
+ * given set of results. Default value is 1.
68
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
69
+ * page. Default value is 10.
66
70
  * @param {CompanyByBrandsRequest} arg.body
67
71
  * @returns {Promise<CompanyByBrandsResponse>} - Success response
68
72
  * @summary: Get company by brand uids
69
- * @description: Get company by brand uids
73
+ * @description: Use this API to get a list of companies by the brands they deal
70
74
  */
71
75
  getCompanyByBrands({ body, pageNo, pageSize }?: {
72
76
  pageNo?: number;
@@ -75,10 +79,11 @@ declare class Configuration {
75
79
  }): Promise<CompanyByBrandsResponse>;
76
80
  /**
77
81
  * @param {Object} arg - Arg object.
78
- * @param {number} [arg.pageSize] - Current request items count
82
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
83
+ * page. Default value is 10.
79
84
  * @param {CompanyByBrandsRequest} arg.body
80
85
  * @summary: Get company by brand uids
81
- * @description: Get company by brand uids
86
+ * @description: Use this API to get a list of companies by the brands they deal
82
87
  */
83
88
  getCompanyByBrandsPaginator({ pageSize, body }?: {
84
89
  pageSize?: number;
@@ -88,15 +93,15 @@ declare class Configuration {
88
93
  * @param {Object} arg - Arg object.
89
94
  * @returns {Promise<CurrenciesResponse>} - Success response
90
95
  * @summary: Get all currencies
91
- * @description: Get all currencies
96
+ * @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.
92
97
  */
93
98
  getCurrencies({}?: any): Promise<CurrenciesResponse>;
94
99
  /**
95
100
  * @param {Object} arg - Arg object.
96
101
  * @param {DomainSuggestionsRequest} arg.body
97
102
  * @returns {Promise<DomainSuggestionsResponse>} - Success response
98
- * @summary: Check domain availibility before linking to application
99
- * @description: Check domain availibility before linking to application. Also sends domain suggestions with similar to queried domain. \ Custom domain search is currently powered by GoDaddy provider.
103
+ * @summary: Check domain availability before linking to application
104
+ * @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.
100
105
  */
101
106
  getDomainAvailibility({ body }?: {
102
107
  body: DomainSuggestionsRequest;
@@ -105,20 +110,20 @@ declare class Configuration {
105
110
  * @param {Object} arg - Arg object.
106
111
  * @param {number} arg.id - Integration id
107
112
  * @returns {Promise<Integration>} - Success response
108
- * @summary: Get integration data
109
- * @description: Get integration data
113
+ * @summary: Get integration data by its ID
114
+ * @description: Use this API to fetch the details of an integration (such as Ginesys, SAP, etc.) using its ID
110
115
  */
111
116
  getIntegrationById({ id }?: {
112
117
  id: number;
113
118
  }): Promise<Integration>;
114
119
  /**
115
120
  * @param {Object} arg - Arg object.
116
- * @param {string} arg.id - Integration id
117
- * @param {string} arg.level - Integration level
118
- * @param {number} arg.uid - Integration level uid
121
+ * @param {string} arg.id - Integration ID (24-digit Mongo Object ID)
122
+ * @param {string} arg.level - Integration level, `store` or `company`
123
+ * @param {number} arg.uid - Unique identifier of integration level (store/company)
119
124
  * @returns {Promise<IntegrationLevel>} - Success response
120
- * @summary: Get level data for integration
121
- * @description: Get level data for integration
125
+ * @summary: Get integration config at a particular level (store/company)
126
+ * @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).
122
127
  */
123
128
  getIntegrationByLevelId({ id, level, uid }?: {
124
129
  id: string;
@@ -127,13 +132,15 @@ declare class Configuration {
127
132
  }): Promise<IntegrationLevel>;
128
133
  /**
129
134
  * @param {Object} arg - Arg object.
130
- * @param {string} arg.id - Integration id
131
- * @param {string} arg.level - Integration level
132
- * @param {boolean} [arg.opted] - Filter on opted stores
133
- * @param {boolean} [arg.checkPermission] - Filter on if permissions are present
135
+ * @param {string} arg.id - Integration ID (24-digit Mongo Object ID)
136
+ * @param {string} arg.level - Store or company
137
+ * @param {boolean} [arg.opted] - True means get the opted stores. False
138
+ * means get the stores that aren't opted.
139
+ * @param {boolean} [arg.checkPermission] - Filter on if permissions (for
140
+ * inventory/order) are present
134
141
  * @returns {Promise<IntegrationConfigResponse>} - Success response
135
142
  * @summary: Get integration level config
136
- * @description: Get integration/integration-opt-in level config
143
+ * @description: Use this API to get the configuration details of an integration such as token, permissions, level, opted value, uid, meta, location ID, etc.
137
144
  */
138
145
  getIntegrationLevelConfig({ id, level, opted, checkPermission }?: {
139
146
  id: string;
@@ -143,12 +150,12 @@ declare class Configuration {
143
150
  }): Promise<IntegrationConfigResponse>;
144
151
  /**
145
152
  * @param {Object} arg - Arg object.
146
- * @param {string} arg.id - Integration id
147
- * @param {string} arg.level - Integration level
148
- * @param {number} arg.uid - Integration level uid
153
+ * @param {string} arg.id - Integration ID (24-digit Mongo Object ID)
154
+ * @param {string} arg.level - Integration level, `store` or `company`
155
+ * @param {number} arg.uid - Unique identifier of integration level (store/company)
149
156
  * @returns {Promise<OptedStoreIntegration>} - Success response
150
- * @summary: Check store has active integration
151
- * @description: API checks if a store is already opted in any other integrations
157
+ * @summary: Check active integration at store
158
+ * @description: Use this API to check if a store is already opted-in for any integration
152
159
  */
153
160
  getLevelActiveIntegrations({ id, level, uid }?: {
154
161
  id: string;
@@ -159,19 +166,21 @@ declare class Configuration {
159
166
  * @param {Object} arg - Arg object.
160
167
  * @param {string} arg.id - Application Id
161
168
  * @returns {Promise<OptedApplicationResponse>} - Success response
162
- * @summary: Get other seller applications
163
- * @description: Get other seller application
169
+ * @summary: Get other seller's sales channel by ID
170
+ * @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
164
171
  */
165
172
  getOtherSellerApplicationById({ id }?: {
166
173
  id: string;
167
174
  }): Promise<OptedApplicationResponse>;
168
175
  /**
169
176
  * @param {Object} arg - Arg object.
170
- * @param {number} [arg.pageNo] - Current page no
171
- * @param {number} [arg.pageSize] - Current request items count
177
+ * @param {number} [arg.pageNo] - The page number to navigate through the
178
+ * given set of results. Default value is 1.
179
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
180
+ * page. Default value is 10.
172
181
  * @returns {Promise<OtherSellerApplications>} - Success response
173
- * @summary: Get other seller applications
174
- * @description: Get other seller applications who has opted current company as inventory
182
+ * @summary: Get other seller sales channels
183
+ * @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
175
184
  */
176
185
  getOtherSellerApplications({ pageNo, pageSize }?: {
177
186
  pageNo?: number;
@@ -179,22 +188,25 @@ declare class Configuration {
179
188
  }): Promise<OtherSellerApplications>;
180
189
  /**
181
190
  * @param {Object} arg - Arg object.
182
- * @param {number} [arg.pageSize] - Current request items count
183
- * @summary: Get other seller applications
184
- * @description: Get other seller applications who has opted current company as inventory
191
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
192
+ * page. Default value is 10.
193
+ * @summary: Get other seller sales channels
194
+ * @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
185
195
  */
186
196
  getOtherSellerApplicationsPaginator({ pageSize }?: {
187
197
  pageSize?: number;
188
198
  }): Paginator;
189
199
  /**
190
200
  * @param {Object} arg - Arg object.
191
- * @param {string} arg.level - Integration level
192
- * @param {number} arg.uid - Integration level uid
193
- * @param {number} [arg.pageNo] - Current page no
194
- * @param {number} [arg.pageSize] - Current request items count
201
+ * @param {string} arg.level - Store or company
202
+ * @param {number} arg.uid - Unique identifier of the selected integration level.
203
+ * @param {number} [arg.pageNo] - The page number to navigate through the
204
+ * given set of results. Default value is 1.
205
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
206
+ * page. Default value is 10.
195
207
  * @returns {Promise<GetIntegrationsOptInsResponse>} - Success response
196
208
  * @summary: Get company/store level integration opt-ins
197
- * @description: Get company/store level integration opt-ins
209
+ * @description: Use this API to get the store-level/company-level integrations configured in a company
198
210
  */
199
211
  getSelectedOptIns({ level, uid, pageNo, pageSize }?: {
200
212
  level: string;
@@ -204,12 +216,14 @@ declare class Configuration {
204
216
  }): Promise<GetIntegrationsOptInsResponse>;
205
217
  /**
206
218
  * @param {Object} arg - Arg object.
207
- * @param {number} [arg.pageNo] - Current page no
208
- * @param {number} [arg.pageSize] - Current request items count
219
+ * @param {number} [arg.pageNo] - The page number to navigate through the
220
+ * given set of results. Default value is 1.
221
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
222
+ * page. Default value is 10.
209
223
  * @param {StoreByBrandsRequest} arg.body
210
224
  * @returns {Promise<StoreByBrandsResponse>} - Success response
211
- * @summary: Get stores by brand uids
212
- * @description: Get stores by brand uids
225
+ * @summary: Get stores by brand uids for the current company
226
+ * @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.
213
227
  */
214
228
  getStoreByBrands({ body, pageNo, pageSize }?: {
215
229
  pageNo?: number;
@@ -218,10 +232,11 @@ declare class Configuration {
218
232
  }): Promise<StoreByBrandsResponse>;
219
233
  /**
220
234
  * @param {Object} arg - Arg object.
221
- * @param {number} [arg.pageSize] - Current request items count
235
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
236
+ * page. Default value is 10.
222
237
  * @param {StoreByBrandsRequest} arg.body
223
- * @summary: Get stores by brand uids
224
- * @description: Get stores by brand uids
238
+ * @summary: Get stores by brand uids for the current company
239
+ * @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.
225
240
  */
226
241
  getStoreByBrandsPaginator({ pageSize, body }?: {
227
242
  pageSize?: number;
@@ -229,11 +244,12 @@ declare class Configuration {
229
244
  }): Paginator;
230
245
  /**
231
246
  * @param {Object} arg - Arg object.
232
- * @param {string} arg.id - Application Id
247
+ * @param {string} arg.id - Alphanumeric ID allotted to an application
248
+ * (sales channel website) created within a business account.
233
249
  * @param {OptOutInventory} arg.body
234
250
  * @returns {Promise<SuccessMessageResponse>} - Success response
235
- * @summary: Opt out company or store from other seller application
236
- * @description: Opt out company or store from other seller application
251
+ * @summary: Opt-out company or store from other seller application
252
+ * @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.
237
253
  */
238
254
  optOutFromApplication({ id, body }?: {
239
255
  id: string;
@@ -241,12 +257,12 @@ declare class Configuration {
241
257
  }): Promise<SuccessMessageResponse>;
242
258
  /**
243
259
  * @param {Object} arg - Arg object.
244
- * @param {string} arg.id - Integration id
245
- * @param {string} arg.level - Integration level
260
+ * @param {string} arg.id - Integration ID (24-digit Mongo Object ID)
261
+ * @param {string} arg.level - Integration level, `store` or `company`
246
262
  * @param {UpdateIntegrationLevelRequest} arg.body
247
263
  * @returns {Promise<IntegrationLevel>} - Success response
248
- * @summary: Update a store level opt-in for integration
249
- * @description: Update a store level opt-in for integration
264
+ * @summary: Update a store level integration you opted
265
+ * @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).
250
266
  */
251
267
  updateLevelIntegration({ id, level, body }?: {
252
268
  id: string;
@@ -255,13 +271,13 @@ declare class Configuration {
255
271
  }): Promise<IntegrationLevel>;
256
272
  /**
257
273
  * @param {Object} arg - Arg object.
258
- * @param {string} arg.id - Integration id
259
- * @param {string} arg.level - Integration level
260
- * @param {number} arg.uid - Integration level uid
274
+ * @param {string} arg.id - Integration ID (24-digit Mongo Object ID)
275
+ * @param {string} arg.level - Integration level, `store` or `company`
276
+ * @param {number} arg.uid - Unique identifier of integration level (store/company)
261
277
  * @param {IntegrationLevel} arg.body
262
278
  * @returns {Promise<IntegrationLevel>} - Success response
263
- * @summary: Update a store level opt-in for integration
264
- * @description: Update a store level opt-in for integration
279
+ * @summary: Update integration level by store UID
280
+ * @description: Update the level of integration by store UID
265
281
  */
266
282
  updateLevelUidIntegration({ id, level, uid, body }?: {
267
283
  id: string;