@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.
- package/documentation/application/CART.md +251 -251
- package/documentation/application/CATALOG.md +393 -393
- package/documentation/application/CONTENT.md +15 -1
- package/documentation/application/ORDER.md +268 -268
- package/documentation/application/PAYMENT.md +249 -249
- package/documentation/application/POSCART.md +297 -297
- package/documentation/platform/CART.md +499 -499
- package/documentation/platform/CATALOG.md +3497 -3097
- package/documentation/platform/COMPANYPROFILE.md +207 -207
- package/documentation/platform/CONTENT.md +123 -1
- package/documentation/platform/ORDER.md +1518 -1324
- package/documentation/platform/PARTNER.md +7 -7
- package/documentation/platform/PAYMENT.md +96 -96
- package/index.js +7 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +865 -52
- package/sdk/application/Cart/CartApplicationModel.d.ts +7 -7
- package/sdk/application/Cart/CartApplicationModel.js +335 -335
- package/sdk/application/Cart/CartApplicationValidator.js +1 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.js +1034 -60
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationModel.js +532 -532
- package/sdk/application/Catalog/CatalogApplicationValidator.js +1 -0
- package/sdk/application/Common/CommonApplicationClient.js +66 -4
- package/sdk/application/Common/CommonApplicationValidator.js +1 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +108 -6
- package/sdk/application/Communication/CommunicationApplicationValidator.js +1 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +558 -32
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
- package/sdk/application/Content/ContentApplicationClient.js +621 -38
- package/sdk/application/Content/ContentApplicationModel.d.ts +1 -0
- package/sdk/application/Content/ContentApplicationModel.js +11 -1
- package/sdk/application/Content/ContentApplicationValidator.js +1 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +101 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +1 -0
- package/sdk/application/Lead/LeadApplicationClient.js +229 -14
- package/sdk/application/Lead/LeadApplicationValidator.js +1 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +134 -8
- package/sdk/application/Logistic/LogisticApplicationValidator.js +1 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.js +403 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +20 -20
- package/sdk/application/Order/OrderApplicationModel.js +334 -334
- package/sdk/application/Order/OrderApplicationValidator.js +1 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +1381 -78
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +2 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +350 -350
- package/sdk/application/Payment/PaymentApplicationValidator.js +1 -0
- package/sdk/application/PosCart/PosCartApplicationClient.js +914 -54
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +15 -15
- package/sdk/application/PosCart/PosCartApplicationModel.js +389 -389
- package/sdk/application/PosCart/PosCartApplicationValidator.js +1 -0
- package/sdk/application/Rewards/RewardsApplicationClient.js +235 -14
- package/sdk/application/Rewards/RewardsApplicationValidator.js +1 -0
- package/sdk/application/Share/ShareApplicationClient.js +226 -14
- package/sdk/application/Share/ShareApplicationValidator.js +1 -0
- package/sdk/application/Theme/ThemeApplicationClient.js +130 -8
- package/sdk/application/Theme/ThemeApplicationValidator.js +1 -0
- package/sdk/application/User/UserApplicationClient.js +1133 -70
- package/sdk/application/User/UserApplicationValidator.js +1 -0
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +16 -8
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +287 -16
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +153 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +141 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +429 -24
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +617 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +35 -35
- package/sdk/platform/Cart/CartPlatformModel.js +617 -617
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +191 -138
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2202 -302
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +45 -45
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +344 -226
- package/sdk/platform/Catalog/CatalogPlatformClient.js +3282 -488
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +110 -100
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2073 -1795
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +23 -21
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +103 -84
- package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -2
- package/sdk/platform/Common/CommonPlatformClient.js +73 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -40
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1499 -80
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +41 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +27 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +486 -26
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +9 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +274 -274
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +56 -28
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1022 -56
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +693 -36
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +148 -67
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2446 -140
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +4 -0
- package/sdk/platform/Content/ContentPlatformModel.js +43 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +21 -10
- package/sdk/platform/Discount/DiscountPlatformClient.js +400 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +8 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +148 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +12 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +214 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +27 -14
- package/sdk/platform/Inventory/InventoryPlatformClient.js +449 -24
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +26 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +447 -26
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +384 -22
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +125 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +108 -47
- package/sdk/platform/Order/OrderPlatformClient.js +1641 -100
- package/sdk/platform/Order/OrderPlatformModel.d.ts +69 -58
- package/sdk/platform/Order/OrderPlatformModel.js +1485 -1493
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +74 -4
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +22 -11
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +418 -22
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +21 -11
- package/sdk/platform/Payment/PaymentPlatformClient.js +374 -20
- package/sdk/platform/Payment/PaymentPlatformModel.js +139 -139
- package/sdk/platform/PlatformApplicationClient.d.ts +2973 -2827
- package/sdk/platform/PlatformApplicationClient.js +3461 -3263
- package/sdk/platform/PlatformClient.d.ts +2973 -2827
- package/sdk/platform/PlatformClient.js +3461 -3263
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +26 -13
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +449 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +8 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +139 -8
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +47 -23
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +816 -48
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +24 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +417 -24
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +12 -6
- package/sdk/platform/Webhook/WebhookPlatformClient.js +229 -12
- package/sdk/public/Configuration/ConfigurationPublicClient.js +72 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +3 -1
- package/sdk/public/Inventory/InventoryPublicClient.js +210 -12
- package/sdk/public/Inventory/InventoryPublicValidator.js +3 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +74 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +3 -1
|
@@ -5,17 +5,19 @@ declare class Configuration {
|
|
|
5
5
|
/**
|
|
6
6
|
* @param {Object} arg - Arg object.
|
|
7
7
|
* @param {CreateApplicationRequest} arg.body
|
|
8
|
+
* @returns {Promise<CreateAppResponse>} - Success response
|
|
8
9
|
* @summary: Create application
|
|
9
10
|
* @description: Create new application
|
|
10
11
|
*/
|
|
11
12
|
createApplication({ body }?: {
|
|
12
13
|
body: CreateApplicationRequest;
|
|
13
|
-
}): Promise<
|
|
14
|
+
}): Promise<CreateAppResponse>;
|
|
14
15
|
/**
|
|
15
16
|
* @param {Object} arg - Arg object.
|
|
16
17
|
* @param {number} [arg.pageNo] -
|
|
17
18
|
* @param {number} [arg.pageSize] -
|
|
18
19
|
* @param {string} [arg.q] - Url encoded object used as mongodb query
|
|
20
|
+
* @returns {Promise<ApplicationsResponse>} - Success response
|
|
19
21
|
* @summary: Get list of application under company
|
|
20
22
|
* @description: Get list of application under company
|
|
21
23
|
*/
|
|
@@ -23,7 +25,7 @@ declare class Configuration {
|
|
|
23
25
|
pageNo?: number;
|
|
24
26
|
pageSize?: number;
|
|
25
27
|
q?: string;
|
|
26
|
-
}): Promise<
|
|
28
|
+
}): Promise<ApplicationsResponse>;
|
|
27
29
|
/**
|
|
28
30
|
* @param {Object} arg - Arg object.
|
|
29
31
|
* @param {number} [arg.pageSize] -
|
|
@@ -37,39 +39,43 @@ declare class Configuration {
|
|
|
37
39
|
}): Paginator;
|
|
38
40
|
/**
|
|
39
41
|
* @param {Object} arg - Arg object.
|
|
42
|
+
* @returns {Promise<CurrenciesResponse>} - Success response
|
|
40
43
|
* @summary: Get all currencies
|
|
41
44
|
* @description: Get all currencies
|
|
42
45
|
*/
|
|
43
|
-
getCurrencies({}?: any): Promise<
|
|
46
|
+
getCurrencies({}?: any): Promise<CurrenciesResponse>;
|
|
44
47
|
/**
|
|
45
48
|
* @param {Object} arg - Arg object.
|
|
46
49
|
* @param {DomainSuggestionsRequest} arg.body
|
|
50
|
+
* @returns {Promise<DomainSuggestionsResponse>} - Success response
|
|
47
51
|
* @summary: Check domain availibility before linking to application
|
|
48
52
|
* @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.
|
|
49
53
|
*/
|
|
50
54
|
getDomainAvailibility({ body }?: {
|
|
51
55
|
body: DomainSuggestionsRequest;
|
|
52
|
-
}): Promise<
|
|
56
|
+
}): Promise<DomainSuggestionsResponse>;
|
|
53
57
|
/**
|
|
54
58
|
* @param {Object} arg - Arg object.
|
|
55
59
|
* @param {number} arg.id - Integration id
|
|
60
|
+
* @returns {Promise<Integration>} - Success response
|
|
56
61
|
* @summary: Get integration data
|
|
57
62
|
* @description: Get integration data
|
|
58
63
|
*/
|
|
59
64
|
getIntegrationById({ id }?: {
|
|
60
65
|
id: number;
|
|
61
|
-
}): Promise<
|
|
66
|
+
}): Promise<Integration>;
|
|
62
67
|
/**
|
|
63
68
|
* @param {Object} arg - Arg object.
|
|
64
69
|
* @param {number} [arg.pageNo] - Current page no
|
|
65
70
|
* @param {number} [arg.pageSize] - Current request items count
|
|
71
|
+
* @returns {Promise<GetIntegrationsOptInsResponse>} - Success response
|
|
66
72
|
* @summary: Get all available integration opt-ins
|
|
67
73
|
* @description: Get all available integration opt-ins
|
|
68
74
|
*/
|
|
69
75
|
getAvailableOptIns({ pageNo, pageSize }?: {
|
|
70
76
|
pageNo?: number;
|
|
71
77
|
pageSize?: number;
|
|
72
|
-
}): Promise<
|
|
78
|
+
}): Promise<GetIntegrationsOptInsResponse>;
|
|
73
79
|
/**
|
|
74
80
|
* @param {Object} arg - Arg object.
|
|
75
81
|
* @param {number} [arg.pageSize] - Current request items count
|
|
@@ -85,6 +91,7 @@ declare class Configuration {
|
|
|
85
91
|
* @param {number} arg.uid - Integration level uid
|
|
86
92
|
* @param {number} [arg.pageNo] - Current page no
|
|
87
93
|
* @param {number} [arg.pageSize] - Current request items count
|
|
94
|
+
* @returns {Promise<GetIntegrationsOptInsResponse>} - Success response
|
|
88
95
|
* @summary: Get company/store level integration opt-ins
|
|
89
96
|
* @description: Get company/store level integration opt-ins
|
|
90
97
|
*/
|
|
@@ -93,7 +100,7 @@ declare class Configuration {
|
|
|
93
100
|
uid: number;
|
|
94
101
|
pageNo?: number;
|
|
95
102
|
pageSize?: number;
|
|
96
|
-
}): Promise<
|
|
103
|
+
}): Promise<GetIntegrationsOptInsResponse>;
|
|
97
104
|
/**
|
|
98
105
|
* @param {Object} arg - Arg object.
|
|
99
106
|
* @param {string} arg.level - Integration level
|
|
@@ -113,6 +120,7 @@ declare class Configuration {
|
|
|
113
120
|
* @param {string} arg.level - Integration level
|
|
114
121
|
* @param {boolean} [arg.opted] - Filter on opted stores
|
|
115
122
|
* @param {boolean} [arg.checkPermission] - Filter on if permissions are present
|
|
123
|
+
* @returns {Promise<IntegrationConfigResponse>} - Success response
|
|
116
124
|
* @summary: Get integration level config
|
|
117
125
|
* @description: Get integration/integration-opt-in level config
|
|
118
126
|
*/
|
|
@@ -121,12 +129,13 @@ declare class Configuration {
|
|
|
121
129
|
level: string;
|
|
122
130
|
opted?: boolean;
|
|
123
131
|
checkPermission?: boolean;
|
|
124
|
-
}): Promise<
|
|
132
|
+
}): Promise<IntegrationConfigResponse>;
|
|
125
133
|
/**
|
|
126
134
|
* @param {Object} arg - Arg object.
|
|
127
135
|
* @param {string} arg.id - Integration id
|
|
128
136
|
* @param {string} arg.level - Integration level
|
|
129
137
|
* @param {UpdateIntegrationLevelRequest} arg.body
|
|
138
|
+
* @returns {Promise<IntegrationLevel>} - Success response
|
|
130
139
|
* @summary: Update a store level opt-in for integration
|
|
131
140
|
* @description: Update a store level opt-in for integration
|
|
132
141
|
*/
|
|
@@ -134,12 +143,13 @@ declare class Configuration {
|
|
|
134
143
|
id: string;
|
|
135
144
|
level: string;
|
|
136
145
|
body: UpdateIntegrationLevelRequest;
|
|
137
|
-
}): Promise<
|
|
146
|
+
}): Promise<IntegrationLevel>;
|
|
138
147
|
/**
|
|
139
148
|
* @param {Object} arg - Arg object.
|
|
140
149
|
* @param {string} arg.id - Integration id
|
|
141
150
|
* @param {string} arg.level - Integration level
|
|
142
151
|
* @param {number} arg.uid - Integration level uid
|
|
152
|
+
* @returns {Promise<IntegrationLevel>} - Success response
|
|
143
153
|
* @summary: Get level data for integration
|
|
144
154
|
* @description: Get level data for integration
|
|
145
155
|
*/
|
|
@@ -147,13 +157,14 @@ declare class Configuration {
|
|
|
147
157
|
id: string;
|
|
148
158
|
level: string;
|
|
149
159
|
uid: number;
|
|
150
|
-
}): Promise<
|
|
160
|
+
}): Promise<IntegrationLevel>;
|
|
151
161
|
/**
|
|
152
162
|
* @param {Object} arg - Arg object.
|
|
153
163
|
* @param {string} arg.id - Integration id
|
|
154
164
|
* @param {string} arg.level - Integration level
|
|
155
165
|
* @param {number} arg.uid - Integration level uid
|
|
156
166
|
* @param {IntegrationLevel} arg.body
|
|
167
|
+
* @returns {Promise<IntegrationLevel>} - Success response
|
|
157
168
|
* @summary: Update a store level opt-in for integration
|
|
158
169
|
* @description: Update a store level opt-in for integration
|
|
159
170
|
*/
|
|
@@ -162,12 +173,13 @@ declare class Configuration {
|
|
|
162
173
|
level: string;
|
|
163
174
|
uid: number;
|
|
164
175
|
body: IntegrationLevel;
|
|
165
|
-
}): Promise<
|
|
176
|
+
}): Promise<IntegrationLevel>;
|
|
166
177
|
/**
|
|
167
178
|
* @param {Object} arg - Arg object.
|
|
168
179
|
* @param {string} arg.id - Integration id
|
|
169
180
|
* @param {string} arg.level - Integration level
|
|
170
181
|
* @param {number} arg.uid - Integration level uid
|
|
182
|
+
* @returns {Promise<OptedStoreIntegration>} - Success response
|
|
171
183
|
* @summary: Check store has active integration
|
|
172
184
|
* @description: API checks if a store is already opted in any other integrations
|
|
173
185
|
*/
|
|
@@ -175,21 +187,23 @@ declare class Configuration {
|
|
|
175
187
|
id: string;
|
|
176
188
|
level: string;
|
|
177
189
|
uid: number;
|
|
178
|
-
}): Promise<
|
|
190
|
+
}): Promise<OptedStoreIntegration>;
|
|
179
191
|
/**
|
|
180
192
|
* @param {Object} arg - Arg object.
|
|
181
193
|
* @param {string} [arg.q] - Search text for brand name
|
|
194
|
+
* @returns {Promise<BrandsByCompanyResponse>} - Success response
|
|
182
195
|
* @summary: Get brands by company
|
|
183
196
|
* @description: Get brands by company
|
|
184
197
|
*/
|
|
185
198
|
getBrandsByCompany({ q }?: {
|
|
186
199
|
q?: string;
|
|
187
|
-
}): Promise<
|
|
200
|
+
}): Promise<BrandsByCompanyResponse>;
|
|
188
201
|
/**
|
|
189
202
|
* @param {Object} arg - Arg object.
|
|
190
203
|
* @param {number} [arg.pageNo] - Current page no
|
|
191
204
|
* @param {number} [arg.pageSize] - Current request items count
|
|
192
205
|
* @param {CompanyByBrandsRequest} arg.body
|
|
206
|
+
* @returns {Promise<CompanyByBrandsResponse>} - Success response
|
|
193
207
|
* @summary: Get company by brand uids
|
|
194
208
|
* @description: Get company by brand uids
|
|
195
209
|
*/
|
|
@@ -197,7 +211,7 @@ declare class Configuration {
|
|
|
197
211
|
pageNo?: number;
|
|
198
212
|
pageSize?: number;
|
|
199
213
|
body: CompanyByBrandsRequest;
|
|
200
|
-
}): Promise<
|
|
214
|
+
}): Promise<CompanyByBrandsResponse>;
|
|
201
215
|
/**
|
|
202
216
|
* @param {Object} arg - Arg object.
|
|
203
217
|
* @param {number} [arg.pageSize] - Current request items count
|
|
@@ -214,6 +228,7 @@ declare class Configuration {
|
|
|
214
228
|
* @param {number} [arg.pageNo] - Current page no
|
|
215
229
|
* @param {number} [arg.pageSize] - Current request items count
|
|
216
230
|
* @param {StoreByBrandsRequest} arg.body
|
|
231
|
+
* @returns {Promise<StoreByBrandsResponse>} - Success response
|
|
217
232
|
* @summary: Get stores by brand uids
|
|
218
233
|
* @description: Get stores by brand uids
|
|
219
234
|
*/
|
|
@@ -221,7 +236,7 @@ declare class Configuration {
|
|
|
221
236
|
pageNo?: number;
|
|
222
237
|
pageSize?: number;
|
|
223
238
|
body: StoreByBrandsRequest;
|
|
224
|
-
}): Promise<
|
|
239
|
+
}): Promise<StoreByBrandsResponse>;
|
|
225
240
|
/**
|
|
226
241
|
* @param {Object} arg - Arg object.
|
|
227
242
|
* @param {number} [arg.pageSize] - Current request items count
|
|
@@ -237,13 +252,14 @@ declare class Configuration {
|
|
|
237
252
|
* @param {Object} arg - Arg object.
|
|
238
253
|
* @param {number} [arg.pageNo] - Current page no
|
|
239
254
|
* @param {number} [arg.pageSize] - Current request items count
|
|
255
|
+
* @returns {Promise<OtherSellerApplications>} - Success response
|
|
240
256
|
* @summary: Get other seller applications
|
|
241
257
|
* @description: Get other seller applications who has opted current company as inventory
|
|
242
258
|
*/
|
|
243
259
|
getOtherSellerApplications({ pageNo, pageSize }?: {
|
|
244
260
|
pageNo?: number;
|
|
245
261
|
pageSize?: number;
|
|
246
|
-
}): Promise<
|
|
262
|
+
}): Promise<OtherSellerApplications>;
|
|
247
263
|
/**
|
|
248
264
|
* @param {Object} arg - Arg object.
|
|
249
265
|
* @param {number} [arg.pageSize] - Current request items count
|
|
@@ -256,22 +272,24 @@ declare class Configuration {
|
|
|
256
272
|
/**
|
|
257
273
|
* @param {Object} arg - Arg object.
|
|
258
274
|
* @param {string} arg.id - Application Id
|
|
275
|
+
* @returns {Promise<OptedApplicationResponse>} - Success response
|
|
259
276
|
* @summary: Get other seller applications
|
|
260
277
|
* @description: Get other seller application
|
|
261
278
|
*/
|
|
262
279
|
getOtherSellerApplicationById({ id }?: {
|
|
263
280
|
id: string;
|
|
264
|
-
}): Promise<
|
|
281
|
+
}): Promise<OptedApplicationResponse>;
|
|
265
282
|
/**
|
|
266
283
|
* @param {Object} arg - Arg object.
|
|
267
284
|
* @param {string} arg.id - Application Id
|
|
268
285
|
* @param {OptOutInventory} arg.body
|
|
286
|
+
* @returns {Promise<SuccessMessageResponse>} - Success response
|
|
269
287
|
* @summary: Opt out company or store from other seller application
|
|
270
288
|
* @description: Opt out company or store from other seller application
|
|
271
289
|
*/
|
|
272
290
|
optOutFromApplication({ id, body }?: {
|
|
273
291
|
id: string;
|
|
274
292
|
body: OptOutInventory;
|
|
275
|
-
}): Promise<
|
|
293
|
+
}): Promise<SuccessMessageResponse>;
|
|
276
294
|
}
|
|
277
295
|
import Paginator = require("../../common/Paginator");
|