@gofynd/fdk-client-javascript 1.0.0 → 1.0.2

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 (156) hide show
  1. package/documentation/application/CART.md +251 -251
  2. package/documentation/application/CATALOG.md +393 -393
  3. package/documentation/application/CONTENT.md +15 -1
  4. package/documentation/application/ORDER.md +268 -268
  5. package/documentation/application/PAYMENT.md +249 -249
  6. package/documentation/application/POSCART.md +297 -297
  7. package/documentation/platform/CART.md +499 -499
  8. package/documentation/platform/CATALOG.md +3497 -3097
  9. package/documentation/platform/COMPANYPROFILE.md +207 -207
  10. package/documentation/platform/CONTENT.md +123 -1
  11. package/documentation/platform/ORDER.md +1518 -1324
  12. package/documentation/platform/PARTNER.md +7 -7
  13. package/documentation/platform/PAYMENT.md +96 -96
  14. package/index.js +7 -1
  15. package/package.json +1 -1
  16. package/sdk/application/ApplicationConfig.js +1 -1
  17. package/sdk/application/Cart/CartApplicationClient.js +865 -52
  18. package/sdk/application/Cart/CartApplicationModel.d.ts +7 -7
  19. package/sdk/application/Cart/CartApplicationModel.js +335 -335
  20. package/sdk/application/Cart/CartApplicationValidator.js +1 -0
  21. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +1 -1
  22. package/sdk/application/Catalog/CatalogApplicationClient.js +1034 -60
  23. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +19 -19
  24. package/sdk/application/Catalog/CatalogApplicationModel.js +532 -532
  25. package/sdk/application/Catalog/CatalogApplicationValidator.js +1 -0
  26. package/sdk/application/Common/CommonApplicationClient.js +66 -4
  27. package/sdk/application/Common/CommonApplicationValidator.js +1 -0
  28. package/sdk/application/Communication/CommunicationApplicationClient.js +108 -6
  29. package/sdk/application/Communication/CommunicationApplicationValidator.js +1 -0
  30. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +1 -1
  31. package/sdk/application/Configuration/ConfigurationApplicationClient.js +558 -32
  32. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
  33. package/sdk/application/Content/ContentApplicationClient.js +621 -38
  34. package/sdk/application/Content/ContentApplicationModel.d.ts +1 -0
  35. package/sdk/application/Content/ContentApplicationModel.js +11 -1
  36. package/sdk/application/Content/ContentApplicationValidator.js +1 -0
  37. package/sdk/application/FileStorage/FileStorageApplicationClient.js +101 -6
  38. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +1 -0
  39. package/sdk/application/Lead/LeadApplicationClient.js +229 -14
  40. package/sdk/application/Lead/LeadApplicationValidator.js +1 -0
  41. package/sdk/application/Logistic/LogisticApplicationClient.js +134 -8
  42. package/sdk/application/Logistic/LogisticApplicationValidator.js +1 -0
  43. package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
  44. package/sdk/application/Order/OrderApplicationClient.js +403 -24
  45. package/sdk/application/Order/OrderApplicationModel.d.ts +20 -20
  46. package/sdk/application/Order/OrderApplicationModel.js +334 -334
  47. package/sdk/application/Order/OrderApplicationValidator.js +1 -0
  48. package/sdk/application/Payment/PaymentApplicationClient.js +1381 -78
  49. package/sdk/application/Payment/PaymentApplicationModel.d.ts +2 -2
  50. package/sdk/application/Payment/PaymentApplicationModel.js +350 -350
  51. package/sdk/application/Payment/PaymentApplicationValidator.js +1 -0
  52. package/sdk/application/PosCart/PosCartApplicationClient.js +914 -54
  53. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +15 -15
  54. package/sdk/application/PosCart/PosCartApplicationModel.js +389 -389
  55. package/sdk/application/PosCart/PosCartApplicationValidator.js +1 -0
  56. package/sdk/application/Rewards/RewardsApplicationClient.js +235 -14
  57. package/sdk/application/Rewards/RewardsApplicationValidator.js +1 -0
  58. package/sdk/application/Share/ShareApplicationClient.js +226 -14
  59. package/sdk/application/Share/ShareApplicationValidator.js +1 -0
  60. package/sdk/application/Theme/ThemeApplicationClient.js +130 -8
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +1 -0
  62. package/sdk/application/User/UserApplicationClient.js +1133 -70
  63. package/sdk/application/User/UserApplicationValidator.js +1 -0
  64. package/sdk/common/AxiosHelper.js +1 -1
  65. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +16 -8
  66. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +287 -16
  67. package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
  68. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +153 -8
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +141 -8
  71. package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -12
  72. package/sdk/platform/Billing/BillingPlatformClient.js +429 -24
  73. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -17
  74. package/sdk/platform/Cart/CartPlatformApplicationClient.js +617 -34
  75. package/sdk/platform/Cart/CartPlatformModel.d.ts +35 -35
  76. package/sdk/platform/Cart/CartPlatformModel.js +617 -617
  77. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +191 -138
  78. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2202 -302
  79. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +11 -11
  80. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +45 -45
  81. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +344 -226
  82. package/sdk/platform/Catalog/CatalogPlatformClient.js +3282 -488
  83. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +110 -100
  84. package/sdk/platform/Catalog/CatalogPlatformModel.js +2073 -1795
  85. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +23 -21
  86. package/sdk/platform/Catalog/CatalogPlatformValidator.js +103 -84
  87. package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -2
  88. package/sdk/platform/Common/CommonPlatformClient.js +73 -4
  89. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -40
  90. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1499 -80
  91. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  92. package/sdk/platform/Communication/CommunicationPlatformClient.js +41 -2
  93. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +27 -14
  94. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +486 -26
  95. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +9 -9
  96. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +274 -274
  97. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +56 -28
  98. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1022 -56
  99. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  100. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +693 -36
  101. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +148 -67
  102. package/sdk/platform/Content/ContentPlatformApplicationClient.js +2446 -140
  103. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
  104. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +7 -0
  105. package/sdk/platform/Content/ContentPlatformModel.d.ts +4 -0
  106. package/sdk/platform/Content/ContentPlatformModel.js +43 -1
  107. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +21 -10
  108. package/sdk/platform/Discount/DiscountPlatformClient.js +400 -22
  109. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +8 -4
  110. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +148 -8
  111. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -6
  112. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +214 -12
  113. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +27 -14
  114. package/sdk/platform/Inventory/InventoryPlatformClient.js +449 -24
  115. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +26 -13
  116. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +447 -26
  117. package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -11
  118. package/sdk/platform/Lead/LeadPlatformClient.js +384 -22
  119. package/sdk/platform/OAuthClient.js +8 -8
  120. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -3
  121. package/sdk/platform/Order/OrderPlatformApplicationClient.js +125 -6
  122. package/sdk/platform/Order/OrderPlatformClient.d.ts +108 -47
  123. package/sdk/platform/Order/OrderPlatformClient.js +1641 -100
  124. package/sdk/platform/Order/OrderPlatformModel.d.ts +69 -58
  125. package/sdk/platform/Order/OrderPlatformModel.js +1485 -1493
  126. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -1
  127. package/sdk/platform/Order/OrderPlatformValidator.js +15 -4
  128. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
  129. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +74 -4
  130. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  131. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  132. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +22 -11
  133. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +418 -22
  134. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +21 -11
  135. package/sdk/platform/Payment/PaymentPlatformClient.js +374 -20
  136. package/sdk/platform/Payment/PaymentPlatformModel.js +139 -139
  137. package/sdk/platform/PlatformApplicationClient.d.ts +2973 -2827
  138. package/sdk/platform/PlatformApplicationClient.js +3461 -3263
  139. package/sdk/platform/PlatformClient.d.ts +2973 -2827
  140. package/sdk/platform/PlatformClient.js +3461 -3263
  141. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +26 -13
  142. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +449 -26
  143. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +8 -4
  144. package/sdk/platform/Share/SharePlatformApplicationClient.js +139 -8
  145. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +47 -23
  146. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +816 -48
  147. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +24 -12
  148. package/sdk/platform/User/UserPlatformApplicationClient.js +417 -24
  149. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +12 -6
  150. package/sdk/platform/Webhook/WebhookPlatformClient.js +229 -12
  151. package/sdk/public/Configuration/ConfigurationPublicClient.js +72 -4
  152. package/sdk/public/Configuration/ConfigurationPublicValidator.js +3 -1
  153. package/sdk/public/Inventory/InventoryPublicClient.js +210 -12
  154. package/sdk/public/Inventory/InventoryPublicValidator.js +3 -1
  155. package/sdk/public/Webhook/WebhookPublicClient.js +74 -4
  156. package/sdk/public/Webhook/WebhookPublicValidator.js +3 -1
@@ -6,97 +6,109 @@ declare class Configuration {
6
6
  /**
7
7
  * @param {Object} arg - Arg object.
8
8
  * @param {string} arg.platformType - Current platform name
9
+ * @returns {Promise<MobileAppConfiguration>} - Success response
9
10
  * @summary: Get latest build config
10
11
  * @description: Get latest build config
11
12
  */
12
13
  getBuildConfig({ platformType }?: {
13
14
  platformType: string;
14
- }): Promise<any>;
15
+ }): Promise<MobileAppConfiguration>;
15
16
  /**
16
17
  * @param {Object} arg - Arg object.
17
18
  * @param {string} arg.platformType - Current platform name
18
19
  * @param {MobileAppConfigRequest} arg.body
20
+ * @returns {Promise<MobileAppConfiguration>} - Success response
19
21
  * @summary: Update build config for next build
20
22
  * @description: Update build config for next build
21
23
  */
22
24
  updateBuildConfig({ platformType, body }?: {
23
25
  platformType: string;
24
26
  body: MobileAppConfigRequest;
25
- }): Promise<any>;
27
+ }): Promise<MobileAppConfiguration>;
26
28
  /**
27
29
  * @param {Object} arg - Arg object.
28
30
  * @param {string} arg.platformType - Current platform name
31
+ * @returns {Promise<BuildVersionHistory>} - Success response
29
32
  * @summary: Get previous build versions
30
33
  * @description: Get previous build versions
31
34
  */
32
35
  getPreviousVersions({ platformType }?: {
33
36
  platformType: string;
34
- }): Promise<any>;
37
+ }): Promise<BuildVersionHistory>;
35
38
  /**
36
39
  * @param {Object} arg - Arg object.
40
+ * @returns {Promise<AppFeatureResponse>} - Success response
37
41
  * @summary: Get features of application
38
42
  * @description: Get features of application
39
43
  */
40
- getAppFeatures({}?: any): Promise<any>;
44
+ getAppFeatures({}?: any): Promise<AppFeatureResponse>;
41
45
  /**
42
46
  * @param {Object} arg - Arg object.
43
47
  * @param {AppFeatureRequest} arg.body
48
+ * @returns {Promise<AppFeature>} - Success response
44
49
  * @summary: Update features of application
45
50
  * @description: Update features of application
46
51
  */
47
52
  updateAppFeatures({ body }?: {
48
53
  body: AppFeatureRequest;
49
- }): Promise<any>;
54
+ }): Promise<AppFeature>;
50
55
  /**
51
56
  * @param {Object} arg - Arg object.
57
+ * @returns {Promise<ApplicationDetail>} - Success response
52
58
  * @summary: Get basic application details
53
59
  * @description: Get basic application details like name
54
60
  */
55
- getAppBasicDetails({}?: any): Promise<any>;
61
+ getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
56
62
  /**
57
63
  * @param {Object} arg - Arg object.
58
64
  * @param {ApplicationDetail} arg.body
65
+ * @returns {Promise<ApplicationDetail>} - Success response
59
66
  * @summary: Add or update application's basic details
60
67
  * @description: Add or update application's basic details
61
68
  */
62
69
  updateAppBasicDetails({ body }?: {
63
70
  body: ApplicationDetail;
64
- }): Promise<any>;
71
+ }): Promise<ApplicationDetail>;
65
72
  /**
66
73
  * @param {Object} arg - Arg object.
74
+ * @returns {Promise<ApplicationInformation>} - Success response
67
75
  * @summary: Get application information
68
76
  * @description: Get Application Current Information. This includes information about social links, address and contact information of company/seller/brand of the application.
69
77
  */
70
- getAppContactInfo({}?: any): Promise<any>;
78
+ getAppContactInfo({}?: any): Promise<ApplicationInformation>;
71
79
  /**
72
80
  * @param {Object} arg - Arg object.
73
81
  * @param {ApplicationInformation} arg.body
82
+ * @returns {Promise<ApplicationInformation>} - Success response
74
83
  * @summary: Get application information
75
84
  * @description: Save Application Current Information. This includes information about social links, address and contact information of an application.
76
85
  */
77
86
  updateAppContactInfo({ body }?: {
78
87
  body: ApplicationInformation;
79
- }): Promise<any>;
88
+ }): Promise<ApplicationInformation>;
80
89
  /**
81
90
  * @param {Object} arg - Arg object.
91
+ * @returns {Promise<TokenResponse>} - Success response
82
92
  * @summary: Get social tokens
83
93
  * @description: Get social tokens.
84
94
  */
85
- getAppApiTokens({}?: any): Promise<any>;
95
+ getAppApiTokens({}?: any): Promise<TokenResponse>;
86
96
  /**
87
97
  * @param {Object} arg - Arg object.
88
98
  * @param {TokenResponse} arg.body
99
+ * @returns {Promise<TokenResponse>} - Success response
89
100
  * @summary: Add social tokens
90
101
  * @description: Add social tokens.
91
102
  */
92
103
  updateAppApiTokens({ body }?: {
93
104
  body: TokenResponse;
94
- }): Promise<any>;
105
+ }): Promise<TokenResponse>;
95
106
  /**
96
107
  * @param {Object} arg - Arg object.
97
108
  * @param {number} [arg.uid] - Uid of companies to be fetched
98
109
  * @param {number} [arg.pageNo] - Current page no
99
110
  * @param {number} [arg.pageSize] - Current request items count
111
+ * @returns {Promise<CompaniesResponse>} - Success response
100
112
  * @summary: Application inventory enabled companies
101
113
  * @description: Application inventory enabled companies.
102
114
  */
@@ -104,7 +116,7 @@ declare class Configuration {
104
116
  uid?: number;
105
117
  pageNo?: number;
106
118
  pageSize?: number;
107
- }): Promise<any>;
119
+ }): Promise<CompaniesResponse>;
108
120
  /**
109
121
  * @param {Object} arg - Arg object.
110
122
  * @param {string} arg.companyId - Current company id
@@ -124,13 +136,14 @@ declare class Configuration {
124
136
  * @param {Object} arg - Arg object.
125
137
  * @param {number} [arg.pageNo] - Current page no
126
138
  * @param {number} [arg.pageSize] - Current request items count
139
+ * @returns {Promise<StoresResponse>} - Success response
127
140
  * @summary: Application inventory enabled stores
128
141
  * @description: Application inventory enabled stores.
129
142
  */
130
143
  getAppStores({ pageNo, pageSize }?: {
131
144
  pageNo?: number;
132
145
  pageSize?: number;
133
- }): Promise<any>;
146
+ }): Promise<StoresResponse>;
134
147
  /**
135
148
  * @param {Object} arg - Arg object.
136
149
  * @param {string} arg.companyId - Current company id
@@ -146,54 +159,61 @@ declare class Configuration {
146
159
  }): Paginator;
147
160
  /**
148
161
  * @param {Object} arg - Arg object.
162
+ * @returns {Promise<ApplicationInventory>} - Success response
149
163
  * @summary: Get application configuration
150
164
  * @description: Get application configuration for various features and data
151
165
  */
152
- getInventoryConfig({}?: any): Promise<any>;
166
+ getInventoryConfig({}?: any): Promise<ApplicationInventory>;
153
167
  /**
154
168
  * @param {Object} arg - Arg object.
155
169
  * @param {ApplicationInventory} arg.body
170
+ * @returns {Promise<ApplicationInventory>} - Success response
156
171
  * @summary: Update application configuration
157
172
  * @description: Update application configuration for various features and data
158
173
  */
159
174
  updateInventoryConfig({ body }?: {
160
175
  body: ApplicationInventory;
161
- }): Promise<any>;
176
+ }): Promise<ApplicationInventory>;
162
177
  /**
163
178
  * @param {Object} arg - Arg object.
164
179
  * @param {AppInventoryPartialUpdate} arg.body
180
+ * @returns {Promise<ApplicationInventory>} - Success response
165
181
  * @summary: Partially update application configuration
166
182
  * @description: Partially update application configuration for various features and data
167
183
  */
168
184
  partiallyUpdateInventoryConfig({ body }?: {
169
185
  body: AppInventoryPartialUpdate;
170
- }): Promise<any>;
186
+ }): Promise<ApplicationInventory>;
171
187
  /**
172
188
  * @param {Object} arg - Arg object.
189
+ * @returns {Promise<AppSupportedCurrency>} - Success response
173
190
  * @summary: Get application enabled currency list
174
191
  * @description: Get application enabled currency list
175
192
  */
176
- getAppCurrencyConfig({}?: any): Promise<any>;
193
+ getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
177
194
  /**
178
195
  * @param {Object} arg - Arg object.
179
196
  * @param {AppSupportedCurrency} arg.body
197
+ * @returns {Promise<AppSupportedCurrency>} - Success response
180
198
  * @summary: Add initial application supported currency
181
199
  * @description: Add initial application supported currency for various features and data. Default INR will be enabled.
182
200
  */
183
201
  updateAppCurrencyConfig({ body }?: {
184
202
  body: AppSupportedCurrency;
185
- }): Promise<any>;
203
+ }): Promise<AppSupportedCurrency>;
186
204
  /**
187
205
  * @param {Object} arg - Arg object.
206
+ * @returns {Promise<AppCurrencyResponse>} - Success response
188
207
  * @summary: Get currencies enabled in the application
189
208
  * @description: Use this API to get a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies.
190
209
  */
191
- getAppSupportedCurrency({}?: any): Promise<any>;
210
+ getAppSupportedCurrency({}?: any): Promise<AppCurrencyResponse>;
192
211
  /**
193
212
  * @param {Object} arg - Arg object.
194
213
  * @param {number} [arg.pageNo] - Current page no
195
214
  * @param {number} [arg.pageSize] - Current request items count
196
215
  * @param {FilterOrderingStoreRequest} arg.body
216
+ * @returns {Promise<OrderingStores>} - Success response
197
217
  * @summary: Get ordering store by filter
198
218
  * @description: Get ordering store by filter
199
219
  */
@@ -201,7 +221,7 @@ declare class Configuration {
201
221
  pageNo?: number;
202
222
  pageSize?: number;
203
223
  body: FilterOrderingStoreRequest;
204
- }): Promise<any>;
224
+ }): Promise<OrderingStores>;
205
225
  /**
206
226
  * @param {Object} arg - Arg object.
207
227
  * @param {string} arg.companyId - Current company id
@@ -220,12 +240,13 @@ declare class Configuration {
220
240
  /**
221
241
  * @param {Object} arg - Arg object.
222
242
  * @param {OrderingStoreConfig} arg.body
243
+ * @returns {Promise<DeploymentMeta>} - Success response
223
244
  * @summary: Add/Update ordering store config
224
245
  * @description: Add/Update ordering store config.
225
246
  */
226
247
  updateOrderingStoreConfig({ body }?: {
227
248
  body: OrderingStoreConfig;
228
- }): Promise<any>;
249
+ }): Promise<DeploymentMeta>;
229
250
  /**
230
251
  * @param {Object} arg - Arg object.
231
252
  * @param {number} [arg.pageNo] - The page number to navigate through the
@@ -233,6 +254,7 @@ declare class Configuration {
233
254
  * @param {number} [arg.pageSize] - The number of items to retrieve in each
234
255
  * page. Default value is 10.
235
256
  * @param {string} [arg.q] - Store code or name of the ordering store.
257
+ * @returns {Promise<OrderingStoresResponse>} - Success response
236
258
  * @summary: Get deployment stores
237
259
  * @description: Use this API to retrieve the details of all stores access given to the staff member (the selling locations where the application will be utilized for placing orders).
238
260
  */
@@ -240,7 +262,7 @@ declare class Configuration {
240
262
  pageNo?: number;
241
263
  pageSize?: number;
242
264
  q?: string;
243
- }): Promise<any>;
265
+ }): Promise<OrderingStoresResponse>;
244
266
  /**
245
267
  * @param {Object} arg - Arg object.
246
268
  * @param {string} arg.companyId - Current company id
@@ -259,51 +281,57 @@ declare class Configuration {
259
281
  }): Paginator;
260
282
  /**
261
283
  * @param {Object} arg - Arg object.
284
+ * @returns {Promise<DomainsResponse>} - Success response
262
285
  * @summary: Get attached domain list
263
286
  * @description: Get attached domain list.
264
287
  */
265
- getDomains({}?: any): Promise<any>;
288
+ getDomains({}?: any): Promise<DomainsResponse>;
266
289
  /**
267
290
  * @param {Object} arg - Arg object.
268
291
  * @param {DomainAddRequest} arg.body
292
+ * @returns {Promise<Domain>} - Success response
269
293
  * @summary: Add new domain to application
270
294
  * @description: Add new domain to application.
271
295
  */
272
296
  addDomain({ body }?: {
273
297
  body: DomainAddRequest;
274
- }): Promise<any>;
298
+ }): Promise<Domain>;
275
299
  /**
276
300
  * @param {Object} arg - Arg object.
277
301
  * @param {string} arg.id - Domain _id
302
+ * @returns {Promise<SuccessMessageResponse>} - Success response
278
303
  * @summary: Remove attached domain
279
304
  * @description: Remove attached domain.
280
305
  */
281
306
  removeDomainById({ id }?: {
282
307
  id: string;
283
- }): Promise<any>;
308
+ }): Promise<SuccessMessageResponse>;
284
309
  /**
285
310
  * @param {Object} arg - Arg object.
286
311
  * @param {UpdateDomainTypeRequest} arg.body
312
+ * @returns {Promise<DomainsResponse>} - Success response
287
313
  * @summary: Change domain type
288
314
  * @description: Change a domain to Primary or Shortlink domain
289
315
  */
290
316
  changeDomainType({ body }?: {
291
317
  body: UpdateDomainTypeRequest;
292
- }): Promise<any>;
318
+ }): Promise<DomainsResponse>;
293
319
  /**
294
320
  * @param {Object} arg - Arg object.
295
321
  * @param {DomainStatusRequest} arg.body
322
+ * @returns {Promise<DomainStatusResponse>} - Success response
296
323
  * @summary: Get domain connected status.
297
324
  * @description: Get domain connected status. Check if domain is live and mapped to appropriate IP to fynd servers.
298
325
  */
299
326
  getDomainStatus({ body }?: {
300
327
  body: DomainStatusRequest;
301
- }): Promise<any>;
328
+ }): Promise<DomainStatusResponse>;
302
329
  /**
303
330
  * @param {Object} arg - Arg object.
331
+ * @returns {Promise<Application>} - Success response
304
332
  * @summary: Get application data from id
305
333
  * @description: Get application data from id
306
334
  */
307
- getApplicationById({}?: any): Promise<any>;
335
+ getApplicationById({}?: any): Promise<Application>;
308
336
  }
309
337
  import Paginator = require("../../common/Paginator");